Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

ProfileHooks.h File Reference

CPU and GPU profiling utility routines and VMD-specific profiling tag definitions. More...

Go to the source code of this file.

Defines

#define PROFILE_INITIALIZE()   do { } while(0)
#define PROFILE_START()   do { } while(0)
#define PROFILE_STOP()   do { } while(0)
#define PROFILE_MAIN_THREAD()   do { } while(0)
#define PROFILE_NAME_THREAD(name)   do { } while(0)
#define PROFILE_MARK(name, cid)   do { } while(0)
#define PROFILE_PUSH_RANGE(name, cid)   do { } while(0)
#define PROFILE_POP_RANGE()   do { } while(0)
#define PROFILE_RANGE(namd, cid)   do { } while(0)


Detailed Description

CPU and GPU profiling utility routines and VMD-specific profiling tag definitions.

Exemplary use of NVTX is shown here: https://devblogs.nvidia.com/cuda-pro-tip-generate-custom-application-profile-timelines-nvtx/

Definition in file ProfileHooks.h.


Define Documentation

 
#define PROFILE_INITIALIZE      do { } while(0)
 

Definition at line 185 of file ProfileHooks.h.

 
#define PROFILE_MAIN_THREAD      do { } while(0)
 

Definition at line 188 of file ProfileHooks.h.

Referenced by main.

#define PROFILE_MARK name,
cid       do { } while(0)
 

Definition at line 190 of file ProfileHooks.h.

Referenced by init_gpu.

#define PROFILE_NAME_THREAD name       do { } while(0)
 

Definition at line 189 of file ProfileHooks.h.

Referenced by affinitize_threads, vmd_cuda_affinitize_threads, vmd_cuda_devpool_setdevice, and vmd_cuda_devpool_setdeviceonly.

 
#define PROFILE_POP_RANGE      do { } while(0)
 

Definition at line 192 of file ProfileHooks.h.

Referenced by UIText::act_on_command, QuickSurf::calc_surf, Orbital::calculate_mo, copy_array_from_gpu, CUDAAccel::CUDAAccel, Segmentation::get_results, init_gpu_on_device, main, mdff_cc, ScaleSpaceFilter::merge, VMDApp::molecule_add_volumetric, VMDApp::molecule_from_selection_list, VMDApp::molecule_load, VMDApp::molecule_new, VMDApp::molecule_savetrajectory, OptiXDisplayDevice::OptiXDisplayDevice, OptiXRenderer::OptiXRenderer, Segmentation::segment, segment_volume, Segmentation::Segmentation, text_cmd_profile, VMDApp::VMDinit, VMDinitialize, VMDreadStartup, VMDApp::VMDupdate, Watershed::watershed, OptiXDisplayDevice::~OptiXDisplayDevice, and OptiXRenderer::~OptiXRenderer.

#define PROFILE_PUSH_RANGE name,
cid       do { } while(0)
 

Definition at line 191 of file ProfileHooks.h.

Referenced by UIText::act_on_command, QuickSurf::calc_surf, Orbital::calculate_mo, copy_array_from_gpu, CUDAAccel::CUDAAccel, Segmentation::get_results, init_gpu_on_device, main, mdff_cc, ScaleSpaceFilter::merge, VMDApp::molecule_add_volumetric, VMDApp::molecule_from_selection_list, VMDApp::molecule_load, VMDApp::molecule_new, VMDApp::molecule_savetrajectory, OptiXDisplayDevice::OptiXDisplayDevice, OptiXRenderer::OptiXRenderer, Segmentation::segment, segment_volume, Segmentation::Segmentation, text_cmd_profile, VMDApp::VMDinit, VMDinitialize, VMDreadStartup, VMDApp::VMDupdate, Watershed::watershed, OptiXDisplayDevice::~OptiXDisplayDevice, and OptiXRenderer::~OptiXRenderer.

#define PROFILE_RANGE namd,
cid       do { } while(0)
 

Definition at line 193 of file ProfileHooks.h.

 
#define PROFILE_START      do { } while(0)
 

Definition at line 186 of file ProfileHooks.h.

Referenced by text_cmd_profile.

 
#define PROFILE_STOP      do { } while(0)
 

Definition at line 187 of file ProfileHooks.h.

Referenced by text_cmd_profile.


Generated on Sat Nov 9 02:46:04 2024 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002