Changeset 1188

Show
Ignore:
Timestamp:
05/19/08 10:09:59 (14 years ago)
Author:
ppalmers
Message:

increase the time span used for debug timestamps

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/libffado/src/debugmodule/debugmodule.cpp

    r1157 r1188  
    174174    struct timespec ts; 
    175175    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); 
    177177 
    178178    // format the message such that it remains together 
    179179    int chars_written=0; 
    180180    int retval=0; 
    181     retval = snprintf(msg, MB_BUFFERSIZE, "%010lu: %s (%s)[%4d] %s: ",  
     181    retval = snprintf(msg, MB_BUFFERSIZE, "%011llu: %s (%s)[%4d] %s: ",  
    182182                      ts_usec, getPreSequence( level ), 
    183183                      fname,  line,  function );