2017-02-02 3 views

Antwort

1

würde ich dies vorschlagen:

long nanosec(struct timeval t) { /* Calculate nanoseconds in a timeval structure */ 
    return((t.tv_sec*1000000+t.tv_usec)*1000); 
} 
Verwandte Themen