ocf/inc/ocf_debug.h
Robert Baldyga 3ee253cc4e Per-queue multi-stream sequential cutoff
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2021-03-04 16:38:31 +01:00

22 lines
445 B
C

/*
* Copyright(c) 2012-2021 Intel Corporation
* SPDX-License-Identifier: BSD-3-Clause-Clear
*/
#ifndef __OCF_DEBUG_H__
#define __OCF_DEBUG_H__
struct ocf_dbg_seq_cutoff_status {
struct {
uint64_t last;
uint64_t bytes;
uint32_t rw : 1;
uint32_t active : 1;
} streams[OCF_SEQ_CUTOFF_PERCORE_STREAMS];
};
void ocf_dbg_get_seq_cutoff_status(ocf_core_t core,
struct ocf_dbg_seq_cutoff_status *status);
#endif /* __OCF_DEBUG_H__ */