summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/Metrics/Metrics_Utils.i
blob: e66bd0c7d62365cdf3d632ab9ae6066dfbd6402d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// $Id$

#ifndef METRICS_UTILS_I
#define METRICS_UTILS_I

/////////////////////////////
// Class TAO_Metrics_Utils //
/////////////////////////////

// Accessor for static timeout event handle.  This handle is ignored
// by the QoS monitor, since by definition it will be dispatched
// after the end-of-frame.

ACE_INLINE
RtecScheduler::handle_t
TAO_Metrics_Utils::timeoutEvent (void)
{
  return TAO_Metrics_Utils::timeoutEvent_;
}


// Mutator for static timeout event handle.  This handle is ignored
// by the QoS monitor, since by definition it will be dispatched
// after the end-of-frame.

ACE_INLINE
void
TAO_Metrics_Utils::timeoutEvent (RtecScheduler::handle_t handle)
{
  TAO_Metrics_Utils::timeoutEvent_ = handle;
}

#endif /* METRICS_UTILS_I */