TEST.C

CygProfiler

test.c source

Project updated · 7 February 2007

Download raw test.c ↓


#include <stdio.h>
#include "cyg-profile.h"

int
function1 (void)
{
  return 0;
}

int
function2 (void)
{
  return function1 () + 1;
}

int
function3 (void)
{
  return function2 () + 1;
}

int
main (void)
{
  printf ("Logfile: %s\n", cygprofile_getfilename ());
  cygprofile_enable ();
  return function3 ();
}
test.c sourceUTF-8 · LOGIX.CZ

Find in Logix

Search page titles and descriptions. Esc closes.

A few handy keys

A little Borland, a little early desktop, a corner of the web to call home.

Pick a directory from the menu or tree. Use Find when you know what you’re after.

Tab / Shift+Tab
Move between controls
↑ / ↓ in menus
Choose an entry
← / → in menus
Switch directories
/
Find a page
Esc
Close menu or dialog
F1
Open this help

Prefer a different atmosphere? View has blue, grey, and green palettes.

No commands to learn. Just follow your curiosity.