Changeset 18813

Show
Ignore:
Timestamp:
05/09/06 18:13:10 (3 years ago)
Author:
patrick
Message:

Fixed coding standard violations. No functional changes.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • juggler/trunk/modules/vapor/vpr/Perf/ProfileManager.cpp

    r18331 r18813  
    4848 
    4949// Initialize statics 
    50 TSObjectProxy<ProfileManager::ThreadProfileData> ProfileManager::mThreadData; 
     50TSObjectProxy<ProfileManager::ThreadProfileData> ProfileManager::mThreadData; 
    5151 
    52    void  ProfileManager::startProfile( const char * profileName , const unsigned int queueSize) 
     52   void ProfileManager::startProfile(const char* profileName, 
     53                                     const unsigned int queueSize) 
    5354   { 
    5455      ThreadProfileData& prof_data(*mThreadData); 
     
    5657      if ( profileName != prof_data.mCurrentNode->getName() ) 
    5758      { 
    58          prof_data.mCurrentNode = prof_data.mCurrentNode->getSubNode( profileName, queueSize); 
     59         prof_data.mCurrentNode = 
     60            prof_data.mCurrentNode->getSubNode(profileName, queueSize); 
    5961      } 
    6062      prof_data.mCurrentNode->startSample(); 
    6163   } 
    6264 
    63    void  ProfileManager::stopProfile( void
     65   void  ProfileManager::stopProfile(
    6466   { 
    6567      ThreadProfileData& prof_data(*mThreadData); 
     
    101103 
    102104         /* 
    103          std::vector<vpr::Thread*> cur_threads = vpr::ThreadManager::instance()->getThreads(); 
     105         std::vector<vpr::Thread*> cur_threads = 
     106            vpr::ThreadManager::instance()->getThreads(); 
    104107 
    105108         for(unsigned t=0;t<cur_threads.size();t++) 
    106109         { 
    107             std::cout << "Print thread: " << (void*)cur_threads[t] << std::endl; 
     110            std::cout << "Print thread: " << (void*)cur_threads[t] 
     111                      << std::endl; 
    108112            std::cout << "Thread: " << cur_threads[t] << std::endl; 
    109113            getRootNode(cur_threads[t])->printTree(); 
     
    113117   } 
    114118 
    115  
    116    void  ProfileManager::reset( void ) 
     119   void ProfileManager::reset() 
    117120   { 
    118121      ThreadProfileData& prof_data(*mThreadData); 
     
    122125   } 
    123126 
    124    float ProfileManager::getTimeSinceReset( void
     127   float ProfileManager::getTimeSinceReset(
    125128   { 
    126129      ThreadProfileData& prof_data(*mThreadData);