Introduce core_is_dirty mngt method

Signed-off-by: Michal Rakowski <michal.rakowski@intel.com>
This commit is contained in:
Michal Rakowski
2019-06-25 09:06:32 +02:00
parent 4a6fc035e9
commit b1a6c467a0
3 changed files with 16 additions and 3 deletions

View File

@@ -605,6 +605,15 @@ typedef void (*ocf_mngt_cache_flush_end_t)(ocf_cache_t cache,
void ocf_mngt_cache_flush(ocf_cache_t cache,
ocf_mngt_cache_flush_end_t cmpl, void *priv);
/**
* @brief Check if core is dirty
*
* @param[in] core Core handle
*
* @retval true if core is dirty, false otherwise
*/
bool ocf_mngt_core_is_dirty(ocf_core_t core);
/**
* @brief Check if cache is dirty
*