source: subversion/applications/utils/mod_tile/daemon.h @ 16255

Last change on this file since 16255 was 16097, checked in by apmon, 10 years ago

[renderd] Report stats about queue length and rendering throughput into a stats file

This allows to monitor the performance of renderd and how well it can keep up with the
render requests that are coming in or if it drops them due to overload.

File size: 652 bytes
Line 
1#ifndef DAEMON_H
2#define DEEMON_H
3
4#include <limits.h> /* for PATH_MAX */
5
6#include "protocol.h"
7
8#define INILINE_MAX 256
9
10typedef struct {
11    char *socketname;
12    int num_threads;
13    char *tile_dir;
14    char *mapnik_plugins_dir;
15    char *mapnik_font_dir;
16    int mapnik_font_dir_recurse;
17    char * stats_filename;
18} renderd_config;
19
20typedef struct {
21    char xmlname[XMLCONFIG_MAX];
22    char xmlfile[PATH_MAX];
23    char xmluri[PATH_MAX];
24    char host[PATH_MAX];
25    char htcpip[PATH_MAX];
26    char tile_dir[PATH_MAX];
27} xmlconfigitem;
28
29typedef struct {
30    long noDirtyRender;
31    long noReqRender;
32    long noReqDroped;
33} stats_struct;
34
35#endif
Note: See TracBrowser for help on using the repository browser.