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

Function timestamp_name

src/lib/timestamp.c:93–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91}
92
93static const char *timestamp_name(enum timestamp_id id)
94{
95 int i;
96
97 for (i = 0; i < ARRAY_SIZE(timestamp_ids); i++) {
98 if (timestamp_ids[i].id == id)
99 return timestamp_ids[i].name;
100 }
101
102 return "Unknown timestamp ID";
103}
104
105static void timestamp_add_table_entry(struct timestamp_table *ts_table,
106 enum timestamp_id id, int64_t ts_time)

Callers 1

timestamp_addFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected