Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
Functions
cpu_info.h File Reference
#include <wireshark.h>

Go to the source code of this file.

Functions

WS_DLL_PUBLIC void get_cpu_info (GString *str)
 Append detailed CPU information to a GString buffer.
 

Detailed Description

Declarations of routines to report CPU information

Wireshark - Network traffic analyzer By Gerald Combs geral.nosp@m.d@wi.nosp@m.resha.nosp@m.rk.o.nosp@m.rg Copyright 1998 Gerald Combs

SPDX-License-Identifier: GPL-2.0-or-later

Function Documentation

◆ get_cpu_info()

WS_DLL_PUBLIC void get_cpu_info ( GString *  str)

Append detailed CPU information to a GString buffer.

Retrieves system-specific CPU details such as model name, architecture, core count, and feature flags, and appends them to the provided GString.

Parameters
strPointer to a GString buffer where CPU information will be appended.