Lines Matching +defs:file +defs:start
89 struct timespec start;
1078 // If both tid and gtid are 0, it means the monitor did not ever start.
1082 KA_TRACE(10, ("__kmp_reap_monitor: monitor did not start, returning\n"));
1388 // cause mapped shared memory file to be left unattended. Thus we postpone
1862 // The number of times the file system had to perform input
1864 // The number of times the file system had to perform output
1884 t_ns = (double)(TS2NS(stop) - TS2NS(__kmp_sys_timer_data.start));
1893 TIMEVAL_TO_TIMESPEC(&tval, &__kmp_sys_timer_data.start);
2117 /* On GNUish OSes, read the /proc/<pid>/maps pseudo-file to get all the
2121 FILE *file = NULL;
2123 file = fopen(name, "r");
2124 KMP_ASSERT(file != NULL);
2132 rc = fscanf(file, "%p-%p %4s %*[^\n]\n", &beginning, &ending, perms);
2151 fclose(file);
2178 void *start = reinterpret_cast<void *>(cur->kve_start);
2181 if ((addr >= start) && (addr < end)) {
2222 if ((uaddr >= entry.ba.start) && (uaddr <= entry.ba.end)) {
2238 int file;
2250 file = open(name, O_RDONLY);
2251 if (file == -1) {
2258 while (sz > 0 && (rd = pread(file, buf, sz, 0)) == sz) {
2278 close(file);
2628 // Construct fixed part of stat file path.
2639 // Construct complete stat file path. Easiest way would be:
2654 // just before reading this file.
2656 /* Content of "stat" file looks like:
2661 file name in paretheses, then state of the thread. We need just
2672 "stat" file not 100 % reliable. In case of fanny program names
2675 Parsing "status" file looks more promissing (due to different
2676 file structure and escaping special symbols) but reading and
2677 parsing of "status" file works slower.
3107 // end of file //