Changeset 1642 for XIOS/dev/branch_openmp/src/tracer.cpp
- Timestamp:
- 01/23/19 10:31:44 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/branch_openmp/src/tracer.cpp
r501 r1642 1 1 #include "tracer.hpp" 2 2 #ifdef VTRACE 3 #include <vt_user.h> 3 //#include <vt_user.h> 4 #include <VT.h> 4 5 #endif 5 6 #include <string> … … 12 13 { 13 14 #ifdef VTRACE 14 VT_ON() ; 15 //VT_ON() ; 16 VT_traceon() ; 15 17 #endif 16 18 } … … 19 21 { 20 22 #ifdef VTRACE 21 VT_OFF() ; 23 //VT_OFF() ; 24 VT_traceoff() ; 22 25 #endif 23 26 } … … 26 29 { 27 30 #ifdef VTRACE 28 VT_USER_START(name.c_str()) ;31 //VT_USER_START(name.c_str()) ; 29 32 #endif 30 33 } … … 33 36 { 34 37 #ifdef VTRACE 35 VT_USER_END(name.c_str()) ;38 //VT_USER_END(name.c_str()) ; 36 39 #endif 37 40 }
Note: See TracChangeset
for help on using the changeset viewer.