Home
last modified time | relevance | path

Searched refs:pid (Results 1 – 4 of 4) sorted by relevance

/oneTBB/python/rml/
H A Dipc_utils.cpp59 unsigned long long get_start_time(int pid) { in get_start_time() argument
62 sprintf( stat_file_path, stat_file_path_template, pid ); in get_start_time()
88 char* get_shared_name(const char* prefix, int pid, unsigned long long time) { in get_shared_name() argument
95 sprintf( name, name_template, prefix, pid, time ); in get_shared_name()
101 int pid = getpgrp(); in get_shared_name() local
102 unsigned long long time = get_start_time( pid ); in get_shared_name()
103 return get_shared_name( prefix, pid, time ); in get_shared_name()
/oneTBB/test/tbbmalloc/
H A Dtest_malloc_shutdown_hang.cpp72 pid_t pid = fork(); in processSpawn() local
73 if (pid == -1) { in processSpawn()
75 } else if (pid == 0) { // child in processSpawn()
81 waitpid(pid, &status, 0); in processSpawn()
/oneTBB/test/tbb/
H A Dtest_tbb_fork.cpp292 pid_t pid = fork(); in main() local
293 if (!pid) { in main()
304 w_ret = waitpid(pid, nullptr, WNOHANG); in main()
307 ASSERT(!kill(pid, SIGKILL), nullptr); in main()
308 w_ret = waitpid(pid, nullptr, 0); in main()
/oneTBB/src/tbb/
H A Dmisc_ex.cpp150 int pid = getpid(); in initialize_hardware_concurrency_info() local
151 err = sched_getaffinity( pid, curMaskSize, processMask ); in initialize_hardware_concurrency_info()