MCPcopy Create free account
hub / github.com/SmingHub/Sming / printTime

Function printTime

samples/Basic_Delegates/app/speed.cpp:20–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18static CpuCycleTimer timer;
19
20static void printTime(const char* name, unsigned ticks)
21{
22 Serial << name << ": " << ticks << " cycles, " << timer.ticksToTime(ticks).toString() << endl;
23}
24
25static void __noinline evaluateCallback(const char* name, TestCallback callback, int testParam)
26{

Callers 2

Calls 2

toStringMethod · 0.45
ticksToTimeMethod · 0.45

Tested by

no test coverage detected