[apps] Add a code app

Change-Id: Icc72c378a6434b5d3b0af74f23e31ea7514882b8
This commit is contained in:
Romain Goyet
2017-08-03 23:28:56 +02:00
parent 20e1554a13
commit 19cf3a4958
8 changed files with 114 additions and 1 deletions

View File

@@ -58,6 +58,7 @@ App::Snapshot * AppsContainer::appSnapshotAtIndex(int index) {
&m_statisticsSnapshot,
&m_probabilitySnapshot,
&m_regressionSnapshot,
&m_codeSnapshot
};
assert(sizeof(snapshots)/sizeof(snapshots[0]) == k_numberOfCommonApps);
assert(index >= 0 && index < k_numberOfCommonApps);