Compare commits

..

2 Commits
main ... main

Author SHA1 Message Date
SimonSayeBabu
cb779aefa3 td2 diagramme 2024-09-17 11:38:00 +02:00
SimonSayeBabu
78bcd8364d readme 2024-09-17 10:00:40 +02:00
4 changed files with 29 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 290 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 546 KiB

28
README Normal file
View File

@ -0,0 +1,28 @@
# Binome :
Axel Pietrois
Simon Saye Babu
## Complexité :
daemon.c
create_daemon() = 3
ping_request() = 2
send_check() = 4
check_keep_working() = 4
daemon_work() = 2
db-sqlite.c
db_connect() = 1
db_disconnect() = 1
insert_hourly_report() = 1
ping-report.c
main() = 4
stats.c
get_ping_from_temp_log() = 15
write_ping_log() = 4
set_stats_ping() = 23
utils.c
write_pid_file() = 2
remove_file() = 1

View File

@ -19,7 +19,7 @@ int main(/*int argc, char** argv*/){
/* Daemon creation */
switch(create_daemon()){
case 0:
case 0:
/* Daemon execution */
daemon_work();
break;