iPXE
Data Fields
timer Struct Reference

A timer. More...

#include <timer.h>

Data Fields

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

Detailed Description

A timer.

Definition at line 28 of file timer.h.


Field Documentation

const char* timer::name

Name.

Definition at line 30 of file timer.h.

Referenced by timer_probe().

int( * timer::probe)(void)

Probe timer.

Return values:
rcReturn status code

Definition at line 36 of file timer.h.

Referenced by timer_probe().

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().

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: