summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/Metrics/Metrics_Utils.i
blob: 04a77bddb526324a1d40fdac7b5833494258019f (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
34
35
36
37
38
39
// -*- C++ -*-
//
// $Id$

#ifndef METRICS_UTILS_I
#define METRICS_UTILS_I

TAO_BEGIN_VERSIONED_NAMESPACE_DECL

/////////////////////////////
// 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;
}

TAO_END_VERSIONED_NAMESPACE_DECL

#endif /* METRICS_UTILS_I */