/* profilesample.pkg.h - built from: profilesample.c */ /* Copyright (c) 2001, 2024 Wind River Systems, Inc. * The right to copy, distribute, modify or otherwise make use * of this software may be licensed only pursuant to the terms * of an applicable Wind River license agreement. */ #ifndef profilesample_pkg_h #define profilesample_pkg_h #ifdef __cplusplus extern "C" { #endif /** * ProfileRunSamplerThread - execute the sampler thread * * DESCRIPTION * Entry function for the sampler thread that periodically samples the * system at the set sample frequency. At present, only VxWorks supports * sampling by a separate thread. On Linux, sampling is done in the interrupt. * * RETURNS: n/a */ extern void ProfileRunSamplerThread (ProfileInfo pi); #ifdef RTI_LINUX extern void ProfileSample (ProfileInfo pi, RTI_pt_regs_p ptregs); #elif defined(RTI_VXWORKS) extern void ProfileSample (ProfileInfo pi); #endif #ifdef __cplusplus } /* extern "C" */ #endif #endif /* profilesample_pkg_h */