diff options
author | Bookatz <bookatz@google.com> | 2017-09-07 17:39:37 -0700 |
---|---|---|
committer | Bookatz <bookatz@google.com> | 2017-09-14 13:04:45 -0700 |
commit | 0e95909ef0b2aac44f305551ea2aa03209b1eec0 (patch) | |
tree | b53c53bb785fd88da726dfaff38018f3cea56068 /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | 486d1cf358a5589263ac509ca513a30251bf20d6 (diff) |
indexed priority queue for AnomalyMonitor
Created a new class, indexed_priority_queue, which is a priority queue
that allows the removal of elements (other than just the top element).
This is required for AnomalyMonitor, which will henceforth use it.
Some tests for this new class are included.
I have only implemented the methods in indexed_priority_queue that are
currently needed. For example, pop_top() has not been written as
AnomalyMonitor does not need it.
Test: adb shell data/nativetest64/statsd_test/statsd_test
Change-Id: I82fe220ee5a879189b0cfa03b551c829cfdd05f0
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions