iPXE
Data Fields
timer Struct Reference

A timer. More...

#include <timer.h>

Data Fields

const char * name
 Name. More...
 
int(* probe )(void)
 Probe timer. More...
 
unsigned long(* currticks )(void)
 Get current system time in ticks. More...
 
void(* udelay )(unsigned long usecs)
 Delay for a fixed number of microseconds. More...
 

Detailed Description

A timer.

Definition at line 28 of file timer.h.

Field Documentation

◆ name

const char* timer::name

Name.

Definition at line 30 of file timer.h.

Referenced by timer_probe().

◆ probe

int( * timer::probe) (void)

Probe timer.

Return values
rcReturn status code

Definition at line 36 of file timer.h.

Referenced by timer_probe().

◆ currticks

unsigned long( * timer::currticks) (void)

Get current system time in ticks.

Return values
ticksCurrent time, in ticks

Definition at line 42 of file timer.h.

Referenced by currticks().

◆ udelay

void( * timer::udelay) (unsigned long usecs)

Delay for a fixed number of microseconds.

Parameters
usecsNumber of microseconds for which to delay

Definition at line 48 of file timer.h.

Referenced by udelay().


The documentation for this struct was generated from the following file: