diff options
author | Clark Williams <clark.williams@gmail.com> | 2014-03-28 13:04:36 -0500 |
---|---|---|
committer | Clark Williams <clark.williams@gmail.com> | 2014-03-28 13:07:55 -0500 |
commit | 9a345c137545ec94cdf3e40f06108cc239d8286e (patch) | |
tree | c11841bbdd668248dafa3fee5bf3209b69cb7c51 | |
parent | bd4493d6ef405a8b0287e7d5f26987e025274b53 (diff) | |
download | rt-tests-9a345c137545ec94cdf3e40f06108cc239d8286e.tar.gz |
removed debugging comments and printfs
Signed-off-by: Clark Williams <clark.williams@gmail.com>
-rw-r--r-- | src/cyclictest/cyclictest.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/cyclictest/cyclictest.c b/src/cyclictest/cyclictest.c index 23706c7..f305c3d 100644 --- a/src/cyclictest/cyclictest.c +++ b/src/cyclictest/cyclictest.c @@ -1115,10 +1115,10 @@ static void parse_cpumask(const char *option, const int max_cpus) if (!affinity_mask) display_help(1); -// if (verbose) { + if (verbose) { printf("%s: Using %u cpus.\n", __func__, rt_numa_bitmask_count(affinity_mask)); -// } + } } @@ -1243,11 +1243,9 @@ static void process_options (int argc, char *argv[], int max_cpus) if (smp || numa) break; if (optarg != NULL) { - printf("optarg != NULL!\n"); parse_cpumask(optarg, max_cpus); setaffinity = AFFINITY_SPECIFIED; } else if (optind<argc && atoi(argv[optind])) { - printf("optind < argc\n"); parse_cpumask(argv[optind], max_cpus); setaffinity = AFFINITY_SPECIFIED; } else { |