Blame gegl/gegl-instrument.h

Packit Service 2781ba
/* This file is part of GEGL
Packit Service 2781ba
 *
Packit Service 2781ba
 * GEGL is free software; you can redistribute it and/or
Packit Service 2781ba
 * modify it under the terms of the GNU Lesser General Public
Packit Service 2781ba
 * License as published by the Free Software Foundation; either
Packit Service 2781ba
 * version 3 of the License, or (at your option) any later version.
Packit Service 2781ba
 *
Packit Service 2781ba
 * GEGL is distributed in the hope that it will be useful,
Packit Service 2781ba
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Service 2781ba
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit Service 2781ba
 * Lesser General Public License for more details.
Packit Service 2781ba
 *
Packit Service 2781ba
 * You should have received a copy of the GNU Lesser General Public
Packit Service 2781ba
 * License along with GEGL; if not, see <http://www.gnu.org/licenses/>.
Packit Service 2781ba
 *
Packit Service 2781ba
 * Copyright 2006 Øyvind Kolås
Packit Service 2781ba
 */
Packit Service 2781ba
#ifndef GEGL_INSTRUMENT_H
Packit Service 2781ba
#define GEGL_INSTRUMENT_H
Packit Service 2781ba
Packit Service 2781ba
/* return number of usecs since gegl was initialized */
Packit Service 2781ba
long gegl_ticks               (void);
Packit Service 2781ba
Packit Service 2781ba
Packit Service 2781ba
/* store a timing instrumentation (parent is expected to exist,
Packit Service 2781ba
 * and to keep it's own record of the time-slice reported) */
Packit Service 2781ba
void gegl_instrument          (const gchar *parent,
Packit Service 2781ba
                               const gchar *scale,
Packit Service 2781ba
                               long         usecs);
Packit Service 2781ba
Packit Service 2781ba
/* create a utf8 string with bar charts for where time disappears
Packit Service 2781ba
 * during a gegl-run
Packit Service 2781ba
 */
Packit Service 2781ba
gchar * gegl_instrument_utf8 (void);
Packit Service 2781ba
Packit Service 2781ba
#endif