td2 diagramme

This commit is contained in:
SimonSayeBabu 2024-09-17 11:38:00 +02:00
parent 78bcd8364d
commit cb779aefa3
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
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 */ /* Daemon creation */
switch(create_daemon()){ switch(create_daemon()){
case 0: case 0:
/* Daemon execution */ /* Daemon execution */
daemon_work(); daemon_work();
break; break;