MCPcopy Create free account
hub / github.com/HandBrake/HandBrake / print_system_information

Function print_system_information

gtk/src/application.c:683–700  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

681}
682
683static void
684print_system_information (GhbApplication *self)
685{
686 g_printerr("%s\n", HB_PROJECT_TITLE);
687 g_autofree char *os_info = g_get_os_info(G_OS_INFO_KEY_PRETTY_NAME);
688 g_printerr("OS: %s\n", os_info);
689#ifndef _WIN32
690 g_autofree struct utsname *host_info = g_malloc0(sizeof(struct utsname));
691 uname(host_info);
692 g_printerr("Kernel: %s %s (%s)\n", host_info->sysname,
693 host_info->release, host_info->machine);
694#endif
695 g_autofree char *config_dir = ghb_get_user_config_dir(NULL);
696 g_printerr("CPU: %s x %d\n", hb_get_cpu_name(), hb_get_cpu_count());
697 g_printerr("Install Dir: %s\n", ghb_application_get_app_dir(self));
698 g_printerr("Config Dir: %s\n", config_dir);
699 g_printerr("_______________________________\n\n");
700}
701
702static void
703ghb_application_constructed (GObject *object)

Callers 1

ghb_application_activateFunction · 0.85

Calls 4

ghb_get_user_config_dirFunction · 0.85
hb_get_cpu_nameFunction · 0.85
hb_get_cpu_countFunction · 0.85

Tested by

no test coverage detected