IConnectProfiler2 extends the IConnectProfiler with functions which obtain the list of result areas. More...
#include <i_Connect.h>
Classes | |
| struct | SResultArea |
| Contains information about profiler area. More... | |
| struct | SResultInfo |
| Contains information about profiler result. More... | |
Public Types | |
| enum | EActivateFlags { aStart = 0x00000001 , aStop = 0x00000002 , aStartStopMask = 0x00000003 } |
| Flags for profiler activation/deactivation. More... | |
| enum | EAreaFlags { afValueTypeMask = 0x0000000F , afTypeFunction = 0x00000010 , afTypeRoutine = 0x00000020 , afTypeVariable = 0x00000030 , afTypeRegion = 0x00000040 , afTypeSingleData = 0x00000050 , afTypeSingleData1 = 0x00000060 , afAreaMask = 0x000000F0 , afFunctionIncludeLines = 0x00000100 , afDataTaskID = 0x00000100 , afDataSingleData = 0x00000200 } |
| Area Flags. More... | |
| enum | EConfigFlags { cfTimeStampCycles = isys::IConnectProfiler::EConfigFlags::cfTimeStampCycles , cfTimeStampTime = isys::IConnectProfiler::EConfigFlags::cfTimeStampTime , cfTimeStampM0 = isys::IConnectProfiler::EConfigFlags::cfTimeStampM0 , cfTimeStampM1 = isys::IConnectProfiler::EConfigFlags::cfTimeStampM1 , cfTimeStampM2 = isys::IConnectProfiler::EConfigFlags::cfTimeStampM2 , cfTimeStampM3 = isys::IConnectProfiler::EConfigFlags::cfTimeStampM3 , cfTimeStampM4 = isys::IConnectProfiler::EConfigFlags::cfTimeStampM4 , cfTimeStampM5 = isys::IConnectProfiler::EConfigFlags::cfTimeStampM5 , cfTimeStampM6 = isys::IConnectProfiler::EConfigFlags::cfTimeStampM6 , cfTimeStampM7 = isys::IConnectProfiler::EConfigFlags::cfTimeStampM7 , cfTimeStampM8 = isys::IConnectProfiler::EConfigFlags::cfTimeStampM8 , cfTimeStampM9 = isys::IConnectProfiler::EConfigFlags::cfTimeStampM9 , cfTimeStampMask = isys::IConnectProfiler::EConfigFlags::cfTimeStampMask } |
| enum | EGetResultAreaFlags { grafByHandle = 0x00000000 , grafByName = 0x00000001 , grafByAddress = 0x00000002 , grafByMask = 0x0000000F , grafTypeExec = 0x00000000 , grafTypeData = 0x00000010 , grafTypeMask = 0x00000030 } |
| Result area return configuration flags. More... | |
| enum | EGetStatusFlags { gsfNumRecorded = isys::IConnectProfiler::EGetStatusFlags::gsfNumRecorded , gsfNumAnalyzed = isys::IConnectProfiler::EGetStatusFlags::gsfNumAnalyzed , gsfNumMask = isys::IConnectProfiler::EGetStatusFlags::gsfNumMask } |
| enum | EResultFlags { rfByHandle = 0x00000001 , rfAllAreas = 0x00000002 , rfFilterTask = 0x00000010 , rfFilterValue = 0x00000020 , rfType0 = 0x00000000 , rfType_Mask = 0xF0000000 } |
| Result flags. More... | |
Public Member Functions | |
| virtual isys::HResult | Activate (uint32_t dwActivateFlags)=0 |
| Activates or deactivates the profiler. | |
| virtual isys::HResult | AddArea (uint32_t dwAreaFlags, uint32_t *pdwHandle, const char *pszName, uint8_t byMemArea=0, ADDRESS aAddress=0, ADDRESS aSize=0, uint32_t dwNumExits=0, ADDRESS *paExits=NULL)=0 |
| Adds an area to the current profiler configuration. | |
IConnectProfiler2 extends the IConnectProfiler with functions which obtain the list of result areas.
|
inherited |
|
inherited |
Area Flags.
|
inherited |
Result area return configuration flags.
|
inherited |
| Enumerator | |
|---|---|
| gsfNumRecorded | See isys::IConnectProfiler::EGetStatusFlags. |
| gsfNumAnalyzed | See isys::IConnectProfiler::EGetStatusFlags. |
| gsfNumMask | See isys::IConnectProfiler::EGetStatusFlags. |
|
inherited |
Result flags.
|
pure virtualinherited |
Activates or deactivates the profiler.
When activating the profiler, the configured areas are evaluated at this time. Activation can fail if an area symbol does not evaluate or number of resulting monitoring points exceeds hardware capabilities.
| dwActivateFlags | see IConnectProfiler::EActivateFlags |
|
pure virtualinherited |
Adds an area to the current profiler configuration.
When adding function, and it does not exist, error is NOT reported by this function, but when IConnectProfiler::Activate() is called.
| dwAreaFlags | see IConnectProfiler::EAreaFlags |
| pdwHandle | Specifies the location of a uint32_t type variable that will accept the handle of the new area. This handle is subsequently used in calls to GetStatistics and GetHistory. |
| pszName | Specifies the name of the area. For afTypeFunction and afTypeVariable, this name is used to obtain the address. For afTypeRoutine and afTypeRegion the name will be displayed in the profiler window. |
| byMemArea | Specifies mem area for afTypeRoutine or starting address for afTypeRegion. |
| aAddress | Specifies the entry point for afTypeRoutine or starting address for afTypeRegion. for encoded afTypeSingleData it's the ID |
| aSize | Specifies the MAU size for afTypeRegion. |
| dwNumExits | Specifies the number of exits for afTypeRoutine. |
| paExits | Points to an array of ADDRESS type objects, each specifying an exit point from afTypeRoutine object. The array must contain dwNumExits elements. |