original files of m241

This commit is contained in:
neelimap
2026-07-30 11:19:44 +05:30
parent 170c2b3f3a
commit afc7070c1f
12254 changed files with 7655111 additions and 0 deletions
@@ -0,0 +1,40 @@
/* 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 */