Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/util/util_stats.h
| Show All 11 Lines | |||||
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
| * See the License for the specific language governing permissions and | * See the License for the specific language governing permissions and | ||||
| * limitations under the License. | * limitations under the License. | ||||
| */ | */ | ||||
| #ifndef __UTIL_STATS_H__ | #ifndef __UTIL_STATS_H__ | ||||
| #define __UTIL_STATS_H__ | #define __UTIL_STATS_H__ | ||||
| #include "util_atomic.h" | #include "util/util_atomic.h" | ||||
| CCL_NAMESPACE_BEGIN | CCL_NAMESPACE_BEGIN | ||||
| class Stats { | class Stats { | ||||
| public: | public: | ||||
| enum static_init_t { static_init = 0 }; | enum static_init_t { static_init = 0 }; | ||||
| Stats() : mem_used(0), mem_peak(0) {} | Stats() : mem_used(0), mem_peak(0) {} | ||||
| Show All 19 Lines | |||||