commit | 580ea321b16c71ddec515553761d6f37359bd3a0 | [log] [tgz] |
---|---|---|
author | Yao Chen <yaochen@google.com> | Mon Feb 26 14:21:54 2018 -0800 |
committer | Yao Chen <yaochen@google.com> | Wed Feb 28 16:57:03 2018 -0800 |
tree | bbc7c757480eac4e3db44e6be7bd389cfc8369a0 | |
parent | aec6950118319e93084f4c3d2ba6087e8f7e15df [diff] |
Add StateTracker. StateTracker is a special condition tracker that's based on a state atom. State atoms are annotated in atoms.proto. The rules for StateTracker: 1. must not have "stop". must have "dimension" 2. must be based on a state atom. 3. it must have the all primary fields and the exclusive state field in its dimension. For example UidProcessStateTracker, will have output dimension {uid, state}. Test: unit tests added. Change-Id: I6b77e58e9fabe61f7326daf929577d8b2cfbf27b