MCPcopy Create free account
hub / github.com/coreboot/coreboot / timestamp_name

Function timestamp_name

payloads/coreinfo/timestamps_module.c:19–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17static unsigned long tick_freq_mhz;
18
19static const char *timestamp_name(uint32_t id)
20{
21 for (size_t i = 0; i < ARRAY_SIZE(timestamp_ids); i++) {
22 if (timestamp_ids[i].id == id)
23 return timestamp_ids[i].name;
24 }
25
26 return "<unknown>";
27}
28
29static void timestamp_set_tick_freq(unsigned long table_tick_freq_mhz)
30{

Callers 1

timestamp_print_entryFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected