op_get_time.c

Go to the documentation of this file.
00001 
00012 #include "op_get_time.h"
00013 
00014 #include <time.h>
00015 
00016 char * op_get_time(void)
00017 {
00018     time_t t = time(NULL);
00019 
00020     if (t == -1)
00021         return "";
00022 
00023     return ctime(&t);
00024 }

Generated on 8 Nov 2012 for Oprofile by  doxygen 1.6.1