Purge core command

Purge invalidates all cache lines which belongs to given core. It is very
usefull feature for tests.

Calling purge is possbile with casadm `--script` swtich.

Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
This commit is contained in:
Michal Mielewczyk
2020-05-11 04:49:03 -04:00
parent d24288a9b1
commit 3b62e40a2e
7 changed files with 149 additions and 2 deletions

View File

@@ -221,6 +221,7 @@ int get_core_pool_count(int fd);
int reset_counters(unsigned int cache_id, unsigned int core_id);
int purge_cache(unsigned int cache_id);
int purge_core(unsigned int cache_id, unsigned int core_id);
int flush_cache(unsigned int cache_id);
int flush_core(unsigned int cache_id, unsigned int core_id);