Services - tools - models - for embedded software development
Embecosm divider strip
Prev  Next

5.1.  Assessing Performance

5.1.1. Load Generated by Debugging Commands

To test performance of the GDB server, a GDB script is used with a small program (in sw/test-progs/perf.c) which exercises the model by computing Ackermann's function [1] [2]. This is driven by a GDB script in sw/test-progs/gdb-script. This script sets a breakpoint on the entry point to a, which computes Ackermann's function. It then carries out the following tests:

GDB is run in silent batch mode:

or32-uclinux-gdb -batch -batch-silent --command gdb-script
	

The output is completely suppressed, removing any client I/O overhead. To measure the client's speed of loading (a measure of both model and memory access efficiency), the "Hello World" program from Section 4.5.1 is loaded manually.

Embecosm divider strip