MCPcopy Create free account
hub / github.com/LemonOSProject/LemonOS / operator-

Function operator-

Applications/IPCTest/main.cpp:15–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13long avgTime = 0;
14
15unsigned int operator-(const timespec& t1, const timespec& t2){
16 return (t1.tv_sec - t2.tv_sec) * 1000000000 + (t1.tv_nsec - t2.tv_nsec);
17}
18timespec timer[msgCount];
19timespec newTimer[msgCount];
20

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected