aboutsummaryrefslogtreecommitdiff
path: root/fractal-gen.h
blob: 914c65e77369aab7b9659869495d1228a054f9fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#ifndef FRACTAL_GEN_H
#define FRACTAL_GEN_H

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <libgen.h>
#include <complex.h>
#include <math.h>
#include <unistd.h>
#include <pthread.h>
#include <assert.h>

typedef struct
{
	unsigned int core;
	unsigned int cores;
	unsigned int size;
	double power;
	unsigned int iterat;
	char* data;
	pthread_t thread;
} data_section;

#include "algorithms.h"

#endif