Whamcloud - gitweb
smash the HEAD with the contents of b_cmd. HEAD_PRE_CMD_SMASH and
[fs/lustre-release.git] / lnet / ulnds / pqtimer.h
1 /* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*-
2  * vim:expandtab:shiftwidth=8:tabstop=8:
3  *
4  *  Copyright (c) 2002 Cray Inc.
5  *  Copyright (c) 2002 Eric Hoffman
6  *
7  *   This file is part of Portals, http://www.sf.net/projects/sandiaportals/
8  */
9
10 typedef unsigned long long when;
11 when now(void);
12 typedef struct timer *timer;
13 timer register_timer(when interval,
14                      void (*function)(void *),
15                      void *argument);
16 timer register_timer_wait(void);
17 void remove_timer(timer);
18 void timer_loop(void);
19 void initialize_timer(void (*block)(when));
20 void timer_fire(void);
21
22
23 #define HZ 0x100000000ull
24
25