Maciej Bielski
c9726dbb10
refactor: simplify tracking CacheRegion reservations
...
Leverage features of the mechanism to simplify implementation:
- The maximum number of possible cache-region reservations is a small
value known at compile-time
- Each reservation is unique (described by `CacheRegion`) so can have
a dedicated entry with either zero (free) or non-zero (reserved) value
So, there is no need for a dynamic collection (unordered_map here) to
keep track of reservations. A simple array is enough for that purpose.
Also, add some helper-code to enable array-indexing with the values of
`CacheRegion` enum.
Related-To: NEO-12837
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com >
2024-12-09 16:50:28 +01:00
..
2024-05-22 16:50:17 +02:00
2024-12-09 12:54:48 +01:00
2024-12-09 16:50:28 +01:00
2024-12-09 16:50:28 +01:00
2024-12-09 12:54:48 +01:00
2024-12-09 12:54:48 +01:00
2024-10-09 15:55:59 +02:00
2024-12-04 19:10:07 +01:00
2024-12-04 19:10:07 +01:00
2023-12-19 08:18:18 +01:00
2023-12-19 08:18:18 +01:00
2024-10-22 19:27:13 +02:00
2024-10-22 19:27:13 +02:00
2024-09-12 18:48:41 +02:00
2024-11-20 08:19:52 +01:00
2024-12-02 15:32:23 +01:00
2024-08-23 12:21:50 +02:00
2024-01-11 08:26:29 +01:00
2024-01-11 08:15:50 +01:00
2023-12-13 15:43:46 +01:00
2024-08-21 18:02:37 +02:00
2023-12-21 08:58:51 +01:00
2023-12-13 07:51:39 +01:00
2024-11-22 17:58:25 +01:00
2024-11-22 17:58:25 +01:00
2024-11-22 15:56:18 +01:00
2024-09-23 14:43:59 +02:00
2023-11-29 11:54:59 +01:00
2024-10-07 10:17:16 +02:00
2024-09-23 14:43:59 +02:00
2024-10-03 17:14:07 +02:00
2023-11-29 11:54:59 +01:00
2024-11-21 14:46:50 +01:00
2024-10-14 17:58:24 +02:00
2024-03-22 12:49:13 +01:00
2023-12-13 15:43:46 +01:00
2024-07-24 08:39:12 +02:00
2024-07-15 11:00:15 +02:00
2024-07-15 11:00:15 +02:00
2023-10-09 16:23:28 +02:00
2024-05-27 10:26:26 +02:00
2023-12-19 08:18:18 +01:00
2024-03-28 14:48:09 +01:00
2024-03-28 14:48:09 +01:00
2024-10-09 16:30:48 +02:00
2024-12-09 12:54:48 +01:00
2024-12-09 12:54:48 +01:00
2024-11-22 17:58:25 +01:00
2024-12-09 12:54:48 +01:00
2023-07-05 16:12:15 +02:00
2024-04-26 15:16:03 +02:00
2024-05-22 16:50:17 +02:00
2024-05-14 09:13:11 +02:00
2024-08-20 08:59:26 +02:00
2024-08-20 08:59:26 +02:00
2024-07-09 14:10:51 +02:00
2024-06-06 12:36:21 +02:00
2024-04-09 16:59:42 +02:00
2023-11-30 13:00:59 +01:00
2024-10-17 15:39:20 +02:00
2024-10-17 15:39:20 +02:00
2023-03-28 11:06:03 +02:00
2024-08-21 18:02:37 +02:00
2024-12-04 19:10:07 +01:00
2023-10-19 16:31:06 +02:00
2024-07-22 11:28:18 +02:00
2024-10-22 14:26:44 +02:00
2023-10-09 16:23:28 +02:00
2023-10-04 15:59:18 +02:00
2024-07-26 12:20:40 +02:00
2023-08-24 10:50:26 +02:00
2023-06-26 19:17:21 +02:00
2023-03-10 13:24:38 +01:00
2023-09-08 15:39:36 +02:00
2024-09-10 19:24:45 +02:00
2024-06-14 16:48:12 +02:00
2024-11-21 14:46:50 +01:00
2024-11-21 14:46:50 +01:00