summaryrefslogtreecommitdiff
path: root/TAO/tao/Timeprobe.h
blob: 85bf06852bd96b2b8c6968fd4a4695595aa660fa (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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
// $Id$

//#define ACE_COMPILE_TIMEPROBES
//#define ACE_ENABLE_TIMEPROBES
//#define ACE_MT_TIMEPROBES
//#define ACE_TSS_TIMEPROBES

#include "ace/Timeprobe.h"

static const char *TAO_Timeprobe_Description[] = 
{ 

  "TAO Timeprobe Description Table",

  "GIOP::send_request - start",
  "GIOP::send_request - end",

  "GIOP::recv_request - start",
  "GIOP::recv_request - end",

  "GIOP::read_buffer - start",
  "GIOP::read_buffer - end",

  "GIOP::RequestHeader_init - start",
  "GIOP::RequestHeader_init - end",

  "GIOP::LocateRequestHeader_init - start",
  "GIOP::LocateRequestHeader_init - end",

  "Server_Connection_Handler::send_response - start",
  "Server_Connection_Handler::send_response - end",

  "Server_Connection_Handler::handle_input - start",
  "Server_Connection_Handler::handle_input - end",

  "Client_Connection_Handler::send_request - start",
  "Client_Connection_Handler::send_request - end",

  "CORBA_ORB::run - start",
  "CORBA_ORB::run - end",

  "POA::locate_poa_i - start",
  "POA::locate_poa_i - end",

  "POA::locate_poa_and_servant_i - start",
  "POA::locate_poa_and_servant_i - end",

  "POA::find_servant - start",
  "POA::find_servant - end",

  "POA::dispatch_servant - start",
  "POA::dispatch_servant - end",

  "POA::parse_key - start",
  "POA::parse_key - end",

  "Servant::_dispatch - start",
  "Servant::_dispatch - end",


};

enum 
{
  TAO_TIMEPROBE_DESCRIPTION_TABLE,

  TAO_GIOP_SEND_REQUEST_START,
  TAO_GIOP_SEND_REQUEST_END,

  TAO_GIOP_RECV_REQUEST_START,
  TAO_GIOP_RECV_REQUEST_END,

  TAO_GIOP_READ_BUFFER_START,
  TAO_GIOP_READ_BUFFER_END,

  TAO_GIOP_REQUEST_HEADER_INIT_START,
  TAO_GIOP_REQUEST_HEADER_INIT_END,

  TAO_GIOP_LOCATE_REQUEST_HEADER_INIT_START,
  TAO_GIOP_LOCATE_REQUEST_HEADER_INIT_END,

  TAO_SERVER_CONNECTION_HANDLER_SEND_RESPONSE_START,
  TAO_SERVER_CONNECTION_HANDLER_SEND_RESPONSE_END,

  TAO_SERVER_CONNECTION_HANDLER_HANDLE_INPUT_START,
  TAO_SERVER_CONNECTION_HANDLER_HANDLE_INPUT_END,

  TAO_CLIENT_CONNECTION_HANDLER_SEND_REQUEST_START,
  TAO_CLIENT_CONNECTION_HANDLER_SEND_REQUEST_END,

  TAO_CORBA_ORB_RUN_START,
  TAO_CORBA_ORB_RUN_END,

  TAO_POA_LOCATE_POA_I_START,
  TAO_POA_LOCATE_POA_I_END,

  TAO_POA_LOCATE_POA_AND_SERVANT_I_START,
  TAO_POA_LOCATE_POA_AND_SERVANT_I_END,

  TAO_POA_FIND_SERVANT_START,
  TAO_POA_FIND_SERVANT_END,

  TAO_POA_DISPATCH_SERVANT_START,
  TAO_POA_DISPATCH_SERVANT_END,

  TAO_POA_PARSE_KEY_START,
  TAO_POA_PARSE_KEY_END,

  TAO_SERVANT_DISPATCH_START,
  TAO_SERVANT_DISPATCH_END,

  TAO_LAST_TIMEPROBE_ENTRY

};