From: Jaroslav Kysela Date: Thu, 20 Feb 2003 16:41:58 +0000 (+0000) Subject: Added difference between UP and SMP X-Git-Tag: v1.0.3~261 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=a7dc532df01430de9480b8af6cf93adab4b38f5e;p=alsa-lib.git Added difference between UP and SMP --- diff --git a/test/code.c b/test/code.c index 3c4f7851..d4f9c3bb 100644 --- a/test/code.c +++ b/test/code.c @@ -385,7 +385,11 @@ int main(int argc, char **argv) double cpu_clock = detect_cpu_clock(); setscheduler(); - printf("CPU clock: %fMhz\n\n", cpu_clock / 10e5); +#ifndef CONFIG_SMP + printf("CPU clock: %fMhz (UP)\n\n", cpu_clock / 10e5); +#else + printf("CPU clock: %fMhz (SMP)\n\n", cpu_clock / 10e5); +#endif if (argc == 4) { size = atoi(argv[1]); n = atoi(argv[2]);