FreeCalypso > hg > freecalypso-reveng
view fluid-mnf/misc.h @ 356:00060bb8b240
fluid-mnf/misc.c: fixed stopwatch functions for Unix
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 13 Mar 2020 20:47:37 +0000 |
parents | f89a20e7adc7 |
children |
line wrap: on
line source
/****************************************************************************** * FLUID (Flash Loader Utility Independent of Device) * * Copyright Texas Instruments, 2001. * Mads Meisner-Jensen, mmj@ti.com. * * Miscellaneous Utility Functions * * $Id: misc.h 1.4 Tue, 15 Jan 2002 15:19:31 +0100 mmj $ * ******************************************************************************/ int dirname_len(const char *pathname); int pathname_make(char *buf, int size, const char *dirname, const char *leafname); int pathname_make_instdir(char *buf, int size, const char *leafname); void progress_begin(int n); void progress_update_simple(int n); void progress_update(int n); void progress_end(int n); int stopwatch_start(void); int stopwatch_stop(int time_start); void hexdump(unsigned char *buf, int size, unsigned int address, int unitsize);