coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
timestamp.h File Reference
Include dependency graph for timestamp.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define timestamp_init(base)
 
#define timestamp_add(id, time)
 
#define timestamp_add_now(id)
 
#define timestamp_rescale_table(N, M)
 
#define get_us_since_boot()   0
 
#define timestamp_get()   0
 Workaround for guard combination above. More...
 

Functions

uint64_t get_initial_timestamp (void)
 
int timestamp_tick_freq_mhz (void)
 

Macro Definition Documentation

◆ get_us_since_boot

#define get_us_since_boot (   void)    0

Definition at line 42 of file timestamp.h.

◆ timestamp_add

#define timestamp_add (   id,
  time 
)

Definition at line 39 of file timestamp.h.

◆ timestamp_add_now

#define timestamp_add_now (   id)

Definition at line 40 of file timestamp.h.

◆ timestamp_get

#define timestamp_get (   void)    0

Workaround for guard combination above.

Definition at line 52 of file timestamp.h.

◆ timestamp_init

#define timestamp_init (   base)

Definition at line 38 of file timestamp.h.

◆ timestamp_rescale_table

#define timestamp_rescale_table (   N,
  M 
)

Definition at line 41 of file timestamp.h.

Function Documentation

◆ get_initial_timestamp()

uint64_t get_initial_timestamp ( void  )

◆ timestamp_tick_freq_mhz()

int timestamp_tick_freq_mhz ( void  )

Definition at line 11 of file timestamp.c.

References tsc_constant_rate(), and tsc_freq_mhz().

Referenced by cbmem_inject_telemetry_data(), and timestamp_reinit().

Here is the call graph for this function:
Here is the caller graph for this function: