TD2_DEV51_Qualite_Algo/compte_rendu.md
Tom MOGULJAK e62fe22071 Premier commit
Co-authored-by: Côme Thuret
2024-09-17 12:13:39 +02:00

73 lines
815 B
Markdown

# Compte rendu TD2 :
## fichier *daemon.c*
**create_daemon**
<br>
```M = 4 ```
**ping_request**
<br>
```M = 2```
**send_check**
<br>
```M = 4```
**check_keep_working**
<br>
```M = 4```
**daemon_work**
<br>
```M = 3```
## fichier *db-sqlite.c*
**db_connect**
<br>
```M = 1```
**db_disconnect**
<br>
```M = 1```
**insert_hourly_report**
<br>
```M = 1```
## fichier *ping-report.c*
**main**
<br>
```M = 5```
## fichier *stats.c*
**get_ping_from_temp_log**
<br>
```M = 15```
Graph :
<br>
<img src="./src/Capture_decran_2024-09-17_115202.png" />
**write_ping_log**
<br>
```M = 4```
**set_stats_ping**
<br>
```M =```
## fichier *ping-report.c*
**write_pid_file**
<br>
```M = 2```
**remove_file**
<br>
```M = 1```
## Optimisation