Changeset 1188
- Timestamp:
- 05/19/08 10:09:59 (15 years ago)
- Files:
-
- trunk/libffado/src/debugmodule/debugmodule.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/libffado/src/debugmodule/debugmodule.cpp
r1157 r1188 174 174 struct timespec ts; 175 175 clock_gettime(CLOCK_MONOTONIC, &ts); 176 long unsigned int ts_usec=(uint32_t)(ts.tv_sec * 1000000LL + ts.tv_nsec / 1000LL);176 uint64_t ts_usec=(uint64_t)(ts.tv_sec * 1000000LL + ts.tv_nsec / 1000LL); 177 177 178 178 // format the message such that it remains together 179 179 int chars_written=0; 180 180 int retval=0; 181 retval = snprintf(msg, MB_BUFFERSIZE, "%01 0lu: %s (%s)[%4d] %s: ",181 retval = snprintf(msg, MB_BUFFERSIZE, "%011llu: %s (%s)[%4d] %s: ", 182 182 ts_usec, getPreSequence( level ), 183 183 fname, line, function );