Add a statistical profiler. Also applied a bugfix b3Profiler.
- This is a compact hierarchical profiler which also stores node statistics - Might need to use a hash-table to lookup statistic for node because each frame trees are build
This commit is contained in:
		| @@ -32,8 +32,8 @@ struct Settings | ||||
| 		drawLines = true; | ||||
| 		drawTriangles = true; | ||||
| 		drawGrid = true; | ||||
| 		drawProfile = false; | ||||
| 		drawProfileTree = false; | ||||
| 		drawProfileTreeStats = false; | ||||
| 		drawStats = false; | ||||
| 	} | ||||
|  | ||||
| @@ -43,8 +43,8 @@ struct Settings | ||||
| 	bool drawLines; | ||||
| 	bool drawTriangles; | ||||
| 	bool drawGrid; | ||||
| 	bool drawProfile; | ||||
| 	bool drawProfileTree; | ||||
| 	bool drawProfileTreeStats; | ||||
| 	bool drawStats; | ||||
| }; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user