[beast/devel: 11/77] BST: use Rapicorn::CPUInfo



commit f003e973d0211e69b01367d680681e4262396ff2
Author: Tim Janik <timj gnu org>
Date:   Thu Mar 28 19:03:23 2013 +0000

    BST: use Rapicorn::CPUInfo

 beast-gtk/bstmain.cc |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/beast-gtk/bstmain.cc b/beast-gtk/bstmain.cc
index 508256f..71be961 100644
--- a/beast-gtk/bstmain.cc
+++ b/beast-gtk/bstmain.cc
@@ -729,10 +729,8 @@ bst_exit_print_version (void)
   g_print ("\n");
   g_print ("Compiled for %s %s SSE plugins.\n", BST_ARCH_NAME, BSE_WITH_SSE_FLAGS ? "with" : "without");
   g_print ("Intrinsic code selected according to runtime CPU detection:\n");
-  const SfiCPUInfo cpu_info = sfi_cpu_info();
-  gchar *cpu_blurb = sfi_cpu_info_string (&cpu_info);
-  g_print ("%s", cpu_blurb);
-  g_free (cpu_blurb);
+  const Rapicorn::CPUInfo cpu_info = Rapicorn::cpu_info();
+  g_print ("%s", cpu_info_string (cpu_info).c_str());
   g_print ("\n");
   g_print ("Prefix:          %s\n", BST_PATH_PREFIX);
   g_print ("Doc Path:        %s\n", BST_PATH_DOCS);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]