diff options
author | Kelvin Li <kkwli0@gmail.com> | 2020-01-03 22:03:42 -0500 |
---|---|---|
committer | Kelvin Li <kkwli0@gmail.com> | 2020-01-03 22:03:42 -0500 |
commit | ed5fe64581f4f076c00d5e57caff1ff746d57c79 (patch) | |
tree | 3d9d49322be077db38ba3b36d8573fbc7faafb59 /openmp/runtime/src/z_Linux_util.cpp | |
parent | 0f1e7993e9bd8c9d80d8adddfc59aeae10d9fad3 (diff) | |
download | bcm5719-llvm-ed5fe64581f4f076c00d5e57caff1ff746d57c79.tar.gz bcm5719-llvm-ed5fe64581f4f076c00d5e57caff1ff746d57c79.zip |
[OpenMP] NFC: Fix trivial typos in comments
Submitted by: kiszk
Differential Revision: https://reviews.llvm.org/D72171
Diffstat (limited to 'openmp/runtime/src/z_Linux_util.cpp')
-rw-r--r-- | openmp/runtime/src/z_Linux_util.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openmp/runtime/src/z_Linux_util.cpp b/openmp/runtime/src/z_Linux_util.cpp index 1cc41fda1cb..1daa3d31047 100644 --- a/openmp/runtime/src/z_Linux_util.cpp +++ b/openmp/runtime/src/z_Linux_util.cpp @@ -2214,7 +2214,7 @@ int __kmp_get_load_balance(int max) { int __kmp_get_load_balance(int max) { static int permanent_error = 0; static int glb_running_threads = 0; // Saved count of the running threads for - // the thread balance algortihm + // the thread balance algorithm static double glb_call_time = 0; /* Thread balance algorithm call time */ int running_threads = 0; // Number of running threads in the system. @@ -2322,7 +2322,7 @@ int __kmp_get_load_balance(int max) { if (proc_entry->d_type == DT_DIR && isdigit(task_entry->d_name[0])) { ++total_threads; - // Consruct complete stat file path. Easiest way would be: + // Construct complete stat file path. Easiest way would be: // __kmp_str_buf_print( & stat_path, "%s/%s/stat", task_path.str, // task_entry->d_name ); // but seriae of __kmp_str_buf_cat works a bit faster. |