Macros | Functions | Variables
benchmark-thread.c File Reference
#include "uv.h"
#include "task.h"
#include <stdio.h>
#include <stdlib.h>
Include dependency graph for benchmark-thread.c:

Go to the source code of this file.

Macros

#define NUM_THREADS   (20 * 1000)
 

Functions

 BENCHMARK_IMPL (thread_create)
 
static void thread_entry (void *arg)
 

Variables

static volatile int num_threads
 

Macro Definition Documentation

◆ NUM_THREADS

#define NUM_THREADS   (20 * 1000)

Definition at line 28 of file benchmark-thread.c.

Function Documentation

◆ BENCHMARK_IMPL()

BENCHMARK_IMPL ( thread_create  )

Definition at line 40 of file benchmark-thread.c.

◆ thread_entry()

static void thread_entry ( void *  arg)
static

Definition at line 33 of file benchmark-thread.c.

Variable Documentation

◆ num_threads

volatile int num_threads
static

Definition at line 30 of file benchmark-thread.c.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:04