op_get_time.c File Reference

Get current time as a string. More...

#include "op_get_time.h"
#include <time.h>
Include dependency graph for op_get_time.c:

Functions

char * op_get_time (void)
 op_get_time - get current date and time

Detailed Description

Get current time as a string.

Remarks:
Copyright 2002 OProfile authors
Read the file COPYING
Author:
John Levon
Philippe Elie

Function Documentation

char* op_get_time ( void   ) 

op_get_time - get current date and time

Returns a string representing the current date and time, or an empty string on error.

The string is statically allocated and should not be freed.

Referenced by opd_print_stats(), operf_print_stats(), and start_profiling().


Generated on 29 Jul 2013 for oprofile by  doxygen 1.6.1