products/Sources/formale Sprachen/C/Firefox/dom/webidl/   (Linux Kernel Version 6.17.9©)  Datei vom 27.6.2026 mit Größe 1 kB image not shown  

Quelle  loop2.c  Sprache: unbekannt

 
// SPDX-License-Identifier: GPL-2.0
// Copyright (c) 2019 Facebook
#include <linux/sched.h>
#include <linux/ptrace.h>
#include <stdint.h>
#include <stddef.h>
#include <stdbool.h>
#include <linux/bpf.h>
#include <bpf/bpf_helpers.h>
#include <bpf/bpf_tracing.h>

char _license[] SEC("license") = "GPL";

SEC("raw_tracepoint/consume_skb")
int while_true(volatile struct pt_regs* ctx)
{
 int i = 0;

 while (true) {
  if (PT_REGS_RC(ctx) & 1)
   i += 3;
  else
   i += 7;
  if (i > 40)
   break;
 }

 return i;
}

Messung V0.5 in Prozent
C=94 H=84 G=88

[Dauer der Verarbeitung: 0.9 Sekunden, vorverarbeitet 2026-10-11]