Qt 4.8
Classes | Functions
qlibraryinfo.cpp File Reference
#include "qdir.h"
#include "qfile.h"
#include "qconfig.h"
#include "qsettings.h"
#include "qlibraryinfo.h"
#include "qscopedpointer.h"
#include "qcoreapplication.h"
#include "private/qcore_mac_p.h"
#include "qconfig.cpp"

Go to the source code of this file.

Classes

class  QLibraryInfoPrivate
 
struct  QLibrarySettings
 

Functions

void qDumpCPUFeatures ()
 

Function Documentation

◆ qDumpCPUFeatures()

void qDumpCPUFeatures ( )

Definition at line 402 of file qsimd.cpp.

Referenced by QLibraryInfo::location().

403 {
404  uint features = qDetectCPUFeatures();
405  printf("Processor features: ");
406  for (int i = 0; i < features_count; ++i) {
407  if (features & (1 << i))
408  printf("%s", features_string + features_indices[i]);
409  }
410  puts("");
411 }
static const int features_indices[]
Definition: qsimd.cpp:374
const int features_count
Definition: qsimd.cpp:380
unsigned int uint
Definition: qglobal.h:996
uint qDetectCPUFeatures()
Definition: qsimd.cpp:382
static const char features_string[]
Definition: qsimd.cpp:357