Added statistical analysis tool (tool/stats)
authorAndrey Tuganov <andreyt@google.com>
Thu, 6 Apr 2017 20:55:26 +0000 (16:55 -0400)
committerDavid Neto <dneto@google.com>
Mon, 10 Apr 2017 21:15:04 +0000 (17:15 -0400)
commit4f216402ba6467ddcf929866243995a31192817f
treeb8a130540ba13b66eb8e56494c0834f2e15f0841
parent72debb8fd41ab327380e3916be81e0b8d6b7799b
Added statistical analysis tool (tool/stats)

Currently analyzes percentages of the following:
- version (how many 1.0 or 1.1)
- generator
- extension
- capability
- opcode prevalence
source/CMakeLists.txt
source/spirv_stats.cpp [new file with mode: 0644]
source/spirv_stats.h [new file with mode: 0644]
test/CMakeLists.txt
test/stats/CMakeLists.txt [new file with mode: 0644]
test/stats/stats_aggregate_test.cpp [new file with mode: 0644]
test/stats/stats_analyzer_test.cpp [new file with mode: 0644]
tools/CMakeLists.txt
tools/stats/stats.cpp [new file with mode: 0644]
tools/stats/stats_analyzer.cpp [new file with mode: 0644]
tools/stats/stats_analyzer.h [new file with mode: 0644]