PKUOS - Pintos
Pintos source browser for PKU Operating System course
Data Fields
sleep_test Struct Reference

Information about the test. More...

Collaboration diagram for sleep_test:
Collaboration graph
[legend]

Data Fields

int64_t start
 Current time at start of test. More...
 
int iterations
 Number of iterations per thread. More...
 
int * output_pos
 Current position in output buffer. More...
 
struct lock output_lock
 Lock protecting output buffer. More...
 

Detailed Description

Information about the test.

Definition at line 22 of file alarm-simultaneous.c.

Field Documentation

◆ iterations

int sleep_test::iterations

Number of iterations per thread.

Definition at line 25 of file alarm-simultaneous.c.

Referenced by test_sleep().

◆ output_lock

struct lock sleep_test::output_lock

Lock protecting output buffer.

Definition at line 34 of file alarm-wait.c.

◆ output_pos

int * sleep_test::output_pos

Current position in output buffer.

Definition at line 26 of file alarm-simultaneous.c.

◆ start

int64_t sleep_test::start

Current time at start of test.

Definition at line 24 of file alarm-simultaneous.c.


The documentation for this struct was generated from the following files: