summaryrefslogtreecommitdiff
path: root/TAO/Benchmark/benchmark/marshal_results.i
blob: 85c6dfce5f98177390d417a89cb7bdfd9646d652 (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59

// ============================================================================
//
// = LIBRARY
//    CORBA Benchmark/Marshal
// 
// = FILENAME
//    marshal_results.i
//
// = AUTHOR
//    Aniruddha Gokhale
// 
// ============================================================================

ACE_INLINE
CORBA_Marshal_Results::CORBA_Marshal_Results (void)
  : filename_ (0),
    elapsed_time_ (0)
{
}

ACE_INLINE
CORBA_Marshal_Results::~CORBA_Marshal_Results (void)
{
}

ACE_INLINE int
CORBA_Marshal_Results::start_timer (void)
{
  return this->timer_.start ();
}

ACE_INLINE int
CORBA_Marshal_Results::stop_timer (void)
{
  return this->timer_.stop ();
}

ACE_INLINE ACE_Profile_Timer::ACE_Elapsed_Time &
CORBA_Marshal_Results::elapsed_time (void)
{
  (void) this->timer_.elapsed_time (this->et_);
  return this->et_;
}

ACE_INLINE ACE_Profile_Timer::Rusage
CORBA_Marshal_Results::elapsed_rusage (void)
{
  (void) this->timer_.elapsed_rusage (this->rusage_);
  return this->rusage_;
}

ACE_INLINE void
CORBA_Marshal_Results::filename (const char *fname)
{
  this->filename_ = fname;
}