Commit Graph

16 Commits

Author SHA1 Message Date
Robert Krzemien
f87f05bf8d Metric Api: Renamed MetricTracer to MetricStreamer
Change-Id: I7de16b230685201b0f91b227f17713c3cd49d497
Signed-off-by: Robert Krzemien <robert.krzemien@intel.com>
2020-07-28 11:21:10 +02:00
Jaime Arteaga
59d679dfd5 Evict event allocations
Change-Id: Icf6c602e296a19af1f9a602cf19455d7124ffc9c
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-07-16 12:06:21 +02:00
Vinod Tipparaju
f3f464801c Refactor Event class to make it thread safe
Change-Id: Iabda4500bc4ab7e91a7af396669d3b74f7336132
Signed-off-by: Vinod Tipparaju <vinod.tipparaju@intel.com>
2020-07-13 15:05:55 +02:00
Andrzej Swierczynski
77f50e5444 Always pass device bitfield to AllocationProperties in constructor
Related-To: NEO-4722

Change-Id: Ie2475bf92a3189bcb9073bec5bf5af709e597c5d
Signed-off-by: Andrzej Swierczynski <andrzej.swierczynski@intel.com>
2020-07-13 09:00:10 +02:00
Lukasz Jobczyk
ff0add74e3 Add alternative residency model on Linux
Related-To: NEO-4732

Change-Id: I79e165d2b647af200ca314e1183ecf05903de644
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2020-07-10 12:38:57 +02:00
Aravind Gopalakrishnan
6ee7c6d77c Use correct allocation type for timestamp events
Change-Id: I82dc122fd78045d548f95262c2155eab1b1eae39
Signed-off-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@intel.com>
2020-06-02 12:24:12 +02:00
Jaime Arteaga
b2688554ce Correct alignment of events
Change-Id: I967bb5e201df5b881c4d1914d74258e6ceda373f
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-05-19 23:27:22 -07:00
Mateusz Hoppe
ac426b5108 TBX csr downloads allocations on queryStatus calls
Change-Id: I57fd98f4227b6d03430db6b96cfd21dd726919a3
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-05-13 16:28:19 +02:00
Aravind Gopalakrishnan
d176462fb0 Use memcpy for getting and setting event values
Direct pointer dereference may not yield expected results

Change-Id: I872dd837ae21bc8a0e1833527cc9a8791cad5295
Signed-off-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@intel.com>
2020-05-07 16:03:16 -07:00
Aravind Gopalakrishnan
b42d789e04 Fix event sizing for kernel timestamps
Standardize the format for kernel timestamps
and logic used to read the data.

Change-Id: I9418c2e09987dc778302026b705d056c84996983
Signed-off-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@intel.com>
2020-05-05 00:34:59 +02:00
Jim Snow
2dbffe8b64 Allow zeEventPoolCreate with no device
We use the first device associated with the driver when no device
is explicitly provided.

Event pools are no longer created via a device method.

Change-Id: Ib16dc79be3ceb1f822c7c1dace7264a0052a6593
Signed-off-by: Jim Snow <jim.m.snow@intel.com>
2020-04-24 00:55:32 +02:00
Spruit, Neil R
e01b9e0c86 Updated events to store CommandStreamReceiver at init
- Updated Event Class to store a pointer to the associated device's command
stream receiver to use during query status and host synchronize

Change-Id: I130df8541ca6a13396669c75fefd135d5ad1ef7d
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com>
2020-04-23 19:18:55 +02:00
Aravind Gopalakrishnan
71ff85cf2c Complete kernel prior to timestamp capture
While at it, fix event flag check upon creation

Change-Id: I2c57b0e20141fc38a4de695cae79bf2f14dd6cdd
Signed-off-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@intel.com>
2020-04-17 20:43:38 +02:00
Filip Hazubski
d0527e1049 Rename memory_constants.h to constants.h
Change-Id: I05b5d20bac12935dc6625b94adc3a03c98c19b49
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-04-02 14:19:39 +02:00
Aravind Gopalakrishnan
6c4621f2ec Fix issue in events
alloc was previously potentially never used

Change-Id: I9da9aeb51dcf7881d51bb62ef35c9427c8cc3ef0
Signed-off-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@intel.com>
2020-03-26 23:02:57 +01:00
Jaime Arteaga
d96e462754 Reorganize Level Zero Core API files
Change-Id: I95750b90748dd65310fa72b030ea3ab2f72d3f24
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-03-25 11:21:43 +01:00