Update the Linux os class not allow copying
by usage of NEO::NonCopyableClass.
Change-Id: Icc0d40eaa83d7a46ec0d48a5fc9deb5c57c0e3f8
Signed-off-by: macabral <matias.a.cabral@intel.com>
-- add ULT support to validate temperature APIs.
Change-Id: I32bb576f81859f0f7ee22f9a63b0d1a8f192f790
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
This change:
- Fixes the problem of last character truncted from strings returned
by zetSysmanDeviceGetProperties() API.
- Fix ULT to validate them.
- Return UNSUPPORTED_FEATURE in case zetSysmanProcessesGetState()
fails to find required sysfs nodes in filesystem.
Change-Id: I4b18688c13b1971a1654a41a5a0ef1949330ed10
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
Metric Tracer can use Metrics Library to generate gpu commands
for Metric Tracer marker. Closing Metrics Library will force it to reintialize,
so Metric Query can use Linux time based sampling stream exclusively
(needed to activate metric set or to obtain context switch/triggered reports).
Change-Id: I3105febfbbd78b537ef0688d1b9c08ab54f9a875
This change does the following:
- Implement API zetSysmanProcessesGetState.
- Implement ULT to validate zetSysmanProcessesGetState's implementation
- Redesign ULTs for zetSysmanDeviceGetProperties to mock only OS specific
classes, and validate zetSysmanDeviceGetProperties's implementation end
to end.
- Some bug fixes in code that are caught by these new ULTs
Change-Id: I4a83789771d32978576ff62859628df2c0c795ad
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
1. Disable oa configuration cache on Linux.
2. Do not allow to create mertic query during tracer usage and vice versa.
Change-Id: I139416a92ac8604c8b46b254b533abf6038c2351
- Redesign the ULT to implement OSSpecific ULT by mocking only sysfs
- Fixing the Engine type "RCS" to use by default
Change-Id: I551374ab02da03fe2e4168fd6a30aa8ccaf3dd3e
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
- by Mocking sysfs class and implementing OSSpecific(Linux)
Change-Id: I2eabf24e44e92b72e73bc323206776440b330b83
Signed-off-by: SaiKishore Konda <saikishore.konda@intel.com>
- Fixing the engine sysfs node path
- Using default engine as RCS (compute) engine for engine APIs
- Updating the ULT for the same
Change-Id: If11aea422ac7e73b7f5fd0bc30d0918915d73848
Signed-off-by: SaiKishore Konda <saikishore.konda@intel.com>
- add default constructor
- fix init function to be a public method
Change-Id: I9e9c3c0d1305497f030f44a1f50b2499b93d3e0c
Signed-off-by: Vilvaraj, T J Vivek <t.j.vivek.vilvaraj@intel.com>
Add boilerplate for all scheduler APIs listed in spec.
Change-Id: I0ba7e4d969f409e1a3360204dbc16037898d64c8
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
- updating zet sysman for memory
- updating memoryhandlecontext init and memory get by checking
isLocalMemorySupported flag
Change-Id: I084068eb0865bb037b7d80246c4a9c74d3ff2cc1
Signed-off-by: SaiKishore Konda <saikishore.konda@intel.com>
Implemented function level reset.
Implementation is:
Make sure we are root (otherwise, return insufficient permissions)
Make sure no one has the device open
(otherwise, return hande object in use)
Close our file handle
Unbind the device from the kernel driver
Make sure no one still has the device open
(otherwise, kill them)
Perform function level reset (FLR)
Rebind the device to the kernel driver
Change-Id: Ic57b95487e73b5a5f2d03e619d813bf4199adf40
Signed-off-by: Bill Jordan <bill.jordan@intel.com>
Do not abort during class destruction of the metrics query
Change-Id: If7caca14944f176bf082e0325a96d84cde111fd1
Signed-off-by: Matias Cabral <matias.a.cabral@intel.com>