Ignore:
Timestamp:
01/22/19 16:15:03 (5 years ago)
Author:
yushan
Message:

dev on ADA

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/tracer.cpp

    r501 r1638  
    11#include "tracer.hpp" 
    22#ifdef VTRACE 
    3 #include <vt_user.h> 
     3//#include <vt_user.h> 
     4#include <VT.h> 
    45#endif 
    56#include <string> 
     
    1213  { 
    1314#ifdef VTRACE 
    14     VT_ON() ; 
     15    //VT_ON() ; 
     16    VT_traceon() ; 
    1517#endif 
    1618  } 
     
    1921  { 
    2022#ifdef VTRACE 
    21     VT_OFF() ; 
     23    //VT_OFF() ; 
     24    VT_traceoff() ; 
    2225#endif 
    2326  } 
     
    2629  { 
    2730#ifdef VTRACE 
    28     VT_USER_START(name.c_str()) ; 
     31    //VT_USER_START(name.c_str()) ; 
    2932#endif 
    3033  } 
     
    3336  { 
    3437#ifdef VTRACE 
    35     VT_USER_END(name.c_str()) ; 
     38    //VT_USER_END(name.c_str()) ; 
    3639#endif 
    3740  } 
Note: See TracChangeset for help on using the changeset viewer.