Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/util/util_progress.h
| Show All 17 Lines | |||||
| #define __UTIL_PROGRESS_H__ | #define __UTIL_PROGRESS_H__ | ||||
| /* Progress | /* Progress | ||||
| * | * | ||||
| * Simple class to communicate progress status messages, timing information, | * Simple class to communicate progress status messages, timing information, | ||||
| * update notifications from a job running in another thread. All methods | * update notifications from a job running in another thread. All methods | ||||
| * except for the constructor/destructor are thread safe. */ | * except for the constructor/destructor are thread safe. */ | ||||
| #include "util_function.h" | #include "util/util_function.h" | ||||
| #include "util_string.h" | #include "util/util_string.h" | ||||
| #include "util_time.h" | #include "util/util_time.h" | ||||
| #include "util_thread.h" | #include "util/util_thread.h" | ||||
| CCL_NAMESPACE_BEGIN | CCL_NAMESPACE_BEGIN | ||||
| class Progress { | class Progress { | ||||
| public: | public: | ||||
| Progress() | Progress() | ||||
| { | { | ||||
| pixel_samples = 0; | pixel_samples = 0; | ||||
| ▲ Show 20 Lines • Show All 304 Lines • Show Last 20 Lines | |||||