test-api: fix stat type
Signed-off-by: Kamil Gierszewski <kamil.gierszewski@huawei.com>
This commit is contained in:
parent
e8b1c3ce81
commit
421c0e4641
@ -194,7 +194,7 @@ class Cache:
|
|||||||
def set_params_nhit(self, promotion_params_nhit: PromotionParametersNhit) -> Output:
|
def set_params_nhit(self, promotion_params_nhit: PromotionParametersNhit) -> Output:
|
||||||
return casadm.set_param_promotion_nhit(
|
return casadm.set_param_promotion_nhit(
|
||||||
self.cache_id,
|
self.cache_id,
|
||||||
threshold=promotion_params_nhit.threshold.get_value(),
|
threshold=promotion_params_nhit.threshold,
|
||||||
trigger=promotion_params_nhit.trigger
|
trigger=promotion_params_nhit.trigger
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -240,7 +240,7 @@ class SeqCutOffParameters:
|
|||||||
|
|
||||||
|
|
||||||
class PromotionParametersNhit:
|
class PromotionParametersNhit:
|
||||||
def __init__(self, threshold: Size = None, trigger: int = None):
|
def __init__(self, threshold: int = None, trigger: int = None):
|
||||||
self.threshold = threshold
|
self.threshold = threshold
|
||||||
self.trigger = trigger
|
self.trigger = trigger
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user