This patch uses maximum OA buffer size for the
platform when opening an io stream.
Related-To: LOCI-4103
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
1. Reposition event pool code
- Implementation of event pool methods should be placed in event pool file
2. Change event pool and event classes
- move all class variables to base classes as protected
- add needed setters and getters for runtime
- add extended mocks and whiteboxes for unit tests
- tests using base or mock class when needed
3. Correct event creation in unit tests
- use HW specific timestamp type
- HW unit tests are using template timestamp type for event creation
- other tests are using helper to create event
Related-To: NEO-7636
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
If raw report size is not a multiple of OaBufferSize, then
make sure the bytes to be read (by zetMetricStreamerReadData)
is always a multiple of raw report size.
Related-To: LOCI-3335
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
This patch fixes an issue about incorrect setting
of WorkloadPartionEnabled flag to ClientOptions.
Related-To: LOCI-3021
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
Rename OA specific files with _oa so that
implementation of other metric sources
could be added seamlessly.
Related-To: LOCI-2945
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>