28 lines
1.2 kB
1/* ************************************************************************** */
2/* */
3/* ::: :::::::: */
4/* metrics.h :+: :+: :+: */
5/* +:+ +:+ +:+ */
6/* By: ohaponiu <marvin@42.fr> +#+ +:+ +#+ */
7/* +#+#+#+#+#+ +#+ */
8/* Created: 2026/04/29 16:31:32 by ohaponiu #+# #+# */
9/* Updated: 2026/05/04 13:16:10 by ohaponiu ### ########.fr */
10/* */
11/* ************************************************************************** */
12
13#ifndef METRICS_H
14# define METRICS_H
15
16/* 0.00%-100.00% is equivalent to 0-10000 */
17# define DISORDER_RANGE 10000
18/* 20% */
19# define DISORDER_20 2000
20/* 50% */
21# define DISORDER_50 5000
22
23# include "types.h"
24
25int disorder(const t_stack *a);
26void bench(const t_context *ctx);
27
28#endif