Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 


Quelle  builtin-version.c   Sprache: C

 
// SPDX-License-Identifier: GPL-2.0
#include "builtin.h"
#include "color.h"
#include "util/debug.h"
#include "util/header.h"
#include <tools/config.h>
#include <stdbool.h>
#include <stdio.h>
#include <string.h>
#include <subcmd/parse-options.h>

struct version {
 bool build_options;
};

static struct version version;

static struct option version_options[] = {
 OPT_BOOLEAN(0, "build-options", &version.build_options,
      "display the build options"),
 OPT_END(),
};

static const char * const version_usage[] = {
 "perf version []",
 NULL
};

static void library_status(void)
{
 for (int i = 0; supported_features[i].name; ++i)
  feature_status__printf(&supported_features[i]);
}

int cmd_version(int argc, const char **argv)
{
 argc = parse_options(argc, argv, version_options, version_usage,
        PARSE_OPT_STOP_AT_NON_OPTION);

 printf("perf version %s\n", perf_version_string);

 if (version.build_options || verbose > 0)
  library_status();

 return 0;
}

Messung V0.5
C=93 H=96 G=94

¤ Dauer der Verarbeitung: 0.9 Sekunden  (vorverarbeitet)  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Software

     Produkte
     Quellcodebibliothek

Aktivitäten

     Artikel über Sicherheit
     Anleitung zur Aktivierung von SSL

Muße

     Gedichte
     Musik
     Bilder

Jenseits des Üblichen ....

Besucherstatistik

Besucherstatistik

Monitoring

Montastic status badge