summaryrefslogtreecommitdiff
path: root/src/theory/output_channel.h
diff options
context:
space:
mode:
authorMathias Preiner <mathias.preiner@gmail.com>2020-02-19 16:59:58 -0800
committerGitHub <noreply@github.com>2020-02-19 16:59:58 -0800
commit508ecb3007a2b6aa8b76b28dc8282247b5dba957 (patch)
treeb80cab956e6b40b4cd783ceb78393006c09782b5 /src/theory/output_channel.h
parent9705504973f6f85c6be4944c615984df7b614f67 (diff)
resource manager: Add statistic for every resource. (#3772)
This commit adds statistics for all resource steps. A resource statistic is incremented by 1 if the resource is spent (via `spendResource`). Fixes #3751.
Diffstat (limited to 'src/theory/output_channel.h')
-rw-r--r--src/theory/output_channel.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/theory/output_channel.h b/src/theory/output_channel.h
index bcbbfa274..dc5dfc388 100644
--- a/src/theory/output_channel.h
+++ b/src/theory/output_channel.h
@@ -82,7 +82,7 @@ class OutputChannel {
*
* @throws Interrupted if the theory can be safely interrupted.
*/
- virtual void safePoint(uint64_t amount) {}
+ virtual void safePoint(ResourceManager::Resource r) {}
/**
* Indicate a theory conflict has arisen.
@@ -172,7 +172,7 @@ class OutputChannel {
* long-running operations, they cannot rely on resource() to break
* out of infinite or intractable computations.
*/
- virtual void spendResource(unsigned amount) {}
+ virtual void spendResource(ResourceManager::Resource r) {}
/**
* Handle user attribute.
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback