MCPcopy Create free account
hub / github.com/kiibohd/controller / cliFunc_tick

Function cliFunc_tick

Debug/cli/cli.c:739–755  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

737}
738
739void cliFunc_tick( char* args )
740{
741 print( NL );
742
743 // Get current time
744 Time now = Time_now();
745
746 // Display <systick>:<cycleticks since systick>
747 info_print("ns per cycletick: ");
748 print( Time_ticksPer_ns_str );
749 print( NL );
750 info_printNL("<systick ms>:<cycleticks since systick>");
751 printInt32( now.ms );
752 print(":");
753 printInt32( now.ticks );
754 print( NL );
755}
756
757void cliFunc_version( char* args )
758{

Callers

nothing calls this directly

Calls 2

Time_nowFunction · 0.85
printInt32Function · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…