Public Member Functions | |
| __mtimer__ (const char *format,...) __attribute__((format(printf | |
| operator bool () | |
| double | sec () |
| va_end (args) | |
| va_start (args, format) | |
| vsnprintf (msg, sizeof(msg), format, args) | |
| ~__mtimer__ () | |
Public Attributes | |
| bool | is_sec_print |
| char | msg [100] |
| double | start |
| start = sec() | |
Definition at line 9 of file example1.cpp.
| __mtimer__::__mtimer__ | ( | const char * | format, |
| ... | |||
| ) |
|
inline |
Definition at line 23 of file example1.cpp.
|
inline |
Definition at line 31 of file example1.cpp.
|
inline |
Definition at line 26 of file example1.cpp.
| __mtimer__::va_end | ( | args | ) |
| __mtimer__::va_start | ( | args | , |
| format | |||
| ) |
| bool __mtimer__::is_sec_print |
Definition at line 12 of file example1.cpp.
| char __mtimer__::msg[100] |
Definition at line 11 of file example1.cpp.
| double __mtimer__::start |
Definition at line 10 of file example1.cpp.
| __mtimer__::start = sec() |
Definition at line 21 of file example1.cpp.