Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/util/util_system.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_SYSTEM_H__ | #ifndef __UTIL_SYSTEM_H__ | ||||
| #define __UTIL_SYSTEM_H__ | #define __UTIL_SYSTEM_H__ | ||||
| #include "util_string.h" | #include "util/util_string.h" | ||||
| CCL_NAMESPACE_BEGIN | CCL_NAMESPACE_BEGIN | ||||
| /* Get number of available CPU groups. */ | /* Get number of available CPU groups. */ | ||||
| int system_cpu_group_count(); | int system_cpu_group_count(); | ||||
| /* Get number of threads/processors in the specified group. */ | /* Get number of threads/processors in the specified group. */ | ||||
| int system_cpu_group_thread_count(int group); | int system_cpu_group_thread_count(int group); | ||||
| Show All 20 Lines | |||||