4 * @author Carlos O'Ryan <coryan@uci.edu>
7 #ifndef TAO_PERF_RTEC_RT_CLASS_H
8 #define TAO_PERF_RTEC_RT_CLASS_H
10 #include "rtec_perf_export.h"
11 #include "ace/Sched_Params.h"
13 #if !defined (ACE_LACKS_PRAGMA_ONCE)
15 #endif /* ACE_LACKS_PRAGMA_ONCE */
20 * @brief Simplify the initialization of performance tests.
22 class TAO_RTEC_Perf_Export RT_Class
28 /** @name Return the test scheduling parameters
31 /// Return the process scheduling class selected for the test
32 int prc_sched_class () const;
34 /// Return the thread scheduling class selected for the test
35 int thr_sched_class () const;
37 /// Return the process priority selected for the test
38 int priority_process () const;
40 /// Return the (thread, native) priority for the high priority
41 /// task(s) in the test
42 int priority_high () const;
44 /// Return the (thread, native) priority for the low priority
45 /// task(s) in the test
46 int priority_low () const;
51 /// The process scheduling class
54 /// The thread scheduling class
57 /// The process priority
58 int priority_process_
;
60 /// The high priority task(s) priority
63 /// The low priority task(s) priority
67 #if defined(__ACE_INLINE__)
68 #include "RT_Class.inl"
69 #endif /* __ACE_INLINE__ */
71 #endif /* TAO_PERF_RTEC_RT_CLASS_H */