td2 diagramme
This commit is contained in:
parent
78bcd8364d
commit
cb779aefa3
BIN
Diagramme get_ping_from_temp_log.png
Normal file
BIN
Diagramme get_ping_from_temp_log.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 290 KiB |
BIN
Diagramme set_stats_ping.png
Normal file
BIN
Diagramme set_stats_ping.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 546 KiB |
28
README
28
README
@ -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
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user