MCPcopy Create free account
hub / github.com/EmbeddedRPC/erpc / clock

Function clock

test/common/gtest/gtimer.c:5–10  ·  view source on GitHub ↗

This function is used for measuring time in google test framework, returns elapsed time from reset in milliseconds

Source from the content-addressed store, hash-verified

3// This function is used for measuring time in google test framework, returns
4// elapsed time from reset in milliseconds
5unsigned int clock()
6{
7 // return TSTMR_DRV_ReadTimeStamp(0)/1000;
8 // TODO
9 return 0;
10}

Callers 1

GetTimeInMillisFunction · 0.85

Calls

no outgoing calls

Tested by 1

GetTimeInMillisFunction · 0.68