GCC Code Coverage Report


Directory: ./
File: src/ppd-driver-cpu.h
Date: 2024-09-13 00:56:02
Exec Total Coverage
Lines: 1 1 100.0%
Functions: 1 1 100.0%
Branches: 4 6 66.7%

Line Branch Exec Source
1 /*
2 * Copyright (c) 2023 Mario Limonciello <superm1@gmail.com>
3 *
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms of the GNU General Public License version 3 as published by
6 * the Free Software Foundation.
7 *
8 */
9
10 #pragma once
11
12 #include "ppd-driver.h"
13
14 #define PPD_TYPE_DRIVER_CPU (ppd_driver_cpu_get_type ())
15
4/6
✓ Branch 1 taken 448 times.
✓ Branch 2 taken 846 times.
✓ Branch 3 taken 448 times.
✗ Branch 4 not taken.
✓ Branch 5 taken 448 times.
✗ Branch 6 not taken.
1294 G_DECLARE_DERIVABLE_TYPE (PpdDriverCpu, ppd_driver_cpu, PPD, DRIVER_CPU, PpdDriver)
16
17 /**
18 * PpdDriverCpuClass:
19 * @parent_class: The parent class.
20 *
21 * New CPU drivers should derive from #PpdDriverCpu and implement
22 * both @probe () and @activate_profile.
23 */
24 struct _PpdDriverCpuClass
25 {
26 PpdDriverClass parent_class;
27 };
28