refactored main; monitoring & scheduling not done yet
This commit is contained in:
parent
7748a53eb2
commit
f08c635390
4 changed files with 93 additions and 77 deletions
6
Makefile
6
Makefile
|
|
@ -6,8 +6,8 @@ INCLUDES = coders/codexion.h
|
|||
OBJS = $(SRCS:.c=.o)
|
||||
|
||||
CC = cc
|
||||
CFLAGS = -Wall -Wextra -Werror -pthread
|
||||
# CFLAGS = -Wall -Wextra -Werror -pthread -g -fsanitize=thread
|
||||
# CFLAGS = -Wall -Wextra -Werror -pthread -g
|
||||
CFLAGS = -Wall -Wextra -Werror -pthread -g -fsanitize=thread
|
||||
|
||||
all: $(NAME)
|
||||
|
||||
|
|
@ -27,7 +27,7 @@ $(NAME): $(OBJS)
|
|||
# scheduler
|
||||
|
||||
test: $(NAME)
|
||||
./$(NAME) 2 800 200 100 10 5 0 edf
|
||||
./$(NAME) 2 800 200 100 10 3 0 edf
|
||||
|
||||
test-val: $(NAME)
|
||||
valgrind --leak-check=full --show-leak-kinds=all ./$(NAME) 2 800 200 100 10 5 0 edf
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue