]> git.cworth.org Git - apitrace/blobdiff - retrace/retrace.hpp
Extend profiling tool to support Vsize and Rss memory usage profile per call
[apitrace] / retrace / retrace.hpp
index 7c8dcd5229426743bf52a52c0609b5fb84e0fb0b..14317cffbe96d7cbbe70c718127e537ea9aff5a1 100644 (file)
@@ -1,6 +1,8 @@
 /**************************************************************************
  *
  * Copyright 2011-2012 Jose Fonseca
+ * Copyright (C) 2013 Intel Corporation. All rights reversed.
+ * Author: Shuang He <shuang.he@intel.com>
  * All Rights Reserved.
  *
  * Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -92,6 +94,7 @@ extern bool profiling;
 extern bool profilingCpuTimes;
 extern bool profilingGpuTimes;
 extern bool profilingPixelsDrawn;
+extern bool profilingMemoryUsage;
 
 /**
  * State dumping.