|
PULSAR
0.1
Parallel Unified Linear Algebra with Systolic Arrays
|
SVG tracing. More...
#include <stdio.h>#include <assert.h>#include <pthread.h>#include <sys/time.h>#include <mpi.h>

Go to the source code of this file.
Macros | |
| #define | SVG_TRACE_MAX_CORES 256 |
| maximum values cores per node, events per core, maximum size of trace file name More... | |
| #define | SVG_TRACE_MAX_EVENTS 65536 |
| #define | SVG_TRACE_FILE_NAME_SIZE 64 |
Enumerations | |
| enum | { Pink = 0xFFC0CB, LightPink = 0xFFB6C1, HotPink = 0xFF69B4, DeepPink = 0xFF1493, PaleVioletRed = 0xDB7093, MediumVioletRed = 0xC71585, LightSalmon = 0xFFA07A, Salmon = 0xFA8072, DarkSalmon = 0xE9967A, LightCoral = 0xF08080, IndianRed = 0xCD5C5C, Crimson = 0xDC143C, FireBrick = 0xB22222, DarkRed = 0x8B0000, Red = 0xFF0000, OrangeRed = 0xFF4500, Tomato = 0xFF6347, Coral = 0xFF7F50, DarkOrange = 0xFF8C00, Orange = 0xFFA500, Gold = 0xFFD700, Yellow = 0xFFFF00, LightYellow = 0xFFFFE0, LemonChiffon = 0xFFFACD, LightGoldenrodYellow = 0xFAFAD2, PapayaWhip = 0xFFEFD5, Moccasin = 0xFFE4B5, PeachPuff = 0xFFDAB9, PaleGoldenrod = 0xEEE8AA, Khaki = 0xF0E68C, DarkKhaki = 0xBDB76B, Cornsilk = 0xFFF8DC, BlanchedAlmond = 0xFFEBCD, Bisque = 0xFFE4C4, NavajoWhite = 0xFFDEAD, Wheat = 0xF5DEB3, BurlyWood = 0xDEB887, Tan = 0xD2B48C, RosyBrown = 0xBC8F8F, SandyBrown = 0xF4A460, Goldenrod = 0xDAA520, DarkGoldenrod = 0xB8860B, Peru = 0xCD853F, Chocolate = 0xD2691E, SaddleBrown = 0x8B4513, Sienna = 0xA0522D, Brown = 0xA52A2A, Maroon = 0x800000, DarkOliveGreen = 0x556B2F, Olive = 0x808000, OliveDrab = 0x6B8E23, YellowGreen = 0x9ACD32, LimeGreen = 0x32CD32, Lime = 0x00FF00, LawnGreen = 0x7CFC00, Chartreuse = 0x7FFF00, GreenYellow = 0xADFF2F, SpringGreen = 0x00FF7F, MediumSpringGreen = 0x00FA9A, LightGreen = 0x90EE90, PaleGreen = 0x98FB98, DarkSeaGreen = 0x8FBC8F, MediumSeaGreen = 0x3CB371, SeaGreen = 0x2E8B57, ForestGreen = 0x228B22, Green = 0x008000, DarkGreen = 0x006400, MediumAquamarine = 0x66CDAA, Aqua = 0x00FFFF, Cyan = 0x00FFFF, LightCyan = 0xE0FFFF, PaleTurquoise = 0xAFEEEE, Aquamarine = 0x7FFFD4, Turquoise = 0x40E0D0, MediumTurquoise = 0x48D1CC, DarkTurquoise = 0x00CED1, LightSeaGreen = 0x20B2AA, CadetBlue = 0x5F9EA0, DarkCyan = 0x008B8B, Teal = 0x008080, LightSteelBlue = 0xB0C4DE, PowderBlue = 0xB0E0E6, LightBlue = 0xADD8E6, SkyBlue = 0x87CEEB, LightSkyBlue = 0x87CEFA, DeepSkyBlue = 0x00BFFF, DodgerBlue = 0x1E90FF, CornflowerBlue = 0x6495ED, SteelBlue = 0x4682B4, RoyalBlue = 0x4169E1, Blue = 0x0000FF, MediumBlue = 0x0000CD, DarkBlue = 0x00008B, Navy = 0x000080, MidnightBlue = 0x191970, Lavender = 0xE6E6FA, Thistle = 0xD8BFD8, Plum = 0xDDA0DD, Violet = 0xEE82EE, Orchid = 0xDA70D6, Fuchsia = 0xFF00FF, Magenta = 0xFF00FF, MediumOrchid = 0xBA55D3, MediumPurple = 0x9370DB, BlueViolet = 0x8A2BE2, DarkViolet = 0x9400D3, DarkOrchid = 0x9932CC, DarkMagenta = 0x8B008B, Purple = 0x800080, Indigo = 0x4B0082, DarkSlateBlue = 0x483D8B, SlateBlue = 0x6A5ACD, MediumSlateBlue = 0x7B68EE, White = 0xFFFFFF, Snow = 0xFFFAFA, Honeydew = 0xF0FFF0, MintCream = 0xF5FFFA, Azure = 0xF0FFFF, AliceBlue = 0xF0F8FF, GhostWhite = 0xF8F8FF, WhiteSmoke = 0xF5F5F5, Seashell = 0xFFF5EE, Beige = 0xF5F5DC, OldLace = 0xFDF5E6, FloralWhite = 0xFFFAF0, Ivory = 0xFFFFF0, AntiqueWhite = 0xFAEBD7, Linen = 0xFAF0E6, LavenderBlush = 0xFFF0F5, MistyRose = 0xFFE4E1, Gainsboro = 0xDCDCDC, LightGray = 0xD3D3D3, Silver = 0xC0C0C0, DarkGray = 0xA9A9A9, Gray = 0x808080, DimGray = 0x696969, LightSlateGray = 0x778899, SlateGray = 0x708090, DarkSlateGray = 0x2F4F4F, Black = 0x000000 } |
| Web colors http://en.wikipedia.org/wiki/Web_colors. More... | |
Functions | |
| void | svg_trace_init (int num_cores) |
| Initialize tracing. More... | |
| void | svg_trace_start (int thread_rank) |
| Start tracing an event. More... | |
| void | svg_trace_stop (int thread_rank, int color) |
| Stop tracing an event. More... | |
| void | svg_trace_finish () |
| Finish tracing. Collect traces from all nodes. Write the combined trace to an SVG file. More... | |
SVG tracing.
PULSAR Runtime /pulsar/ Copyright (C) 2012-2013 University of Tennessee.
Definition in file svg_trace.h.
| #define SVG_TRACE_FILE_NAME_SIZE 64 |
Definition at line 31 of file svg_trace.h.
| #define SVG_TRACE_MAX_CORES 256 |
maximum values cores per node, events per core, maximum size of trace file name
Definition at line 29 of file svg_trace.h.
| #define SVG_TRACE_MAX_EVENTS 65536 |
Definition at line 30 of file svg_trace.h.
| anonymous enum |
Web colors http://en.wikipedia.org/wiki/Web_colors.
Definition at line 37 of file svg_trace.h.
| void svg_trace_finish | ( | ) |
Finish tracing. Collect traces from all nodes. Write the combined trace to an SVG file.
Definition at line 78 of file svg_trace.c.
References SVG_TRACE_FILE_NAME_SIZE, SVG_TRACE_MAX_CORES, and SVG_TRACE_MAX_EVENTS.

| void svg_trace_init | ( | int | num_cores | ) |
Initialize tracing.
| num_cores |
Definition at line 38 of file svg_trace.c.
References SVG_TRACE_MAX_CORES, and SVG_TRACE_MAX_EVENTS.

| void svg_trace_start | ( | int | thread_rank | ) |
Start tracing an event.
| rank | thread rank |
Definition at line 50 of file svg_trace.c.
References SVG_TRACE_MAX_CORES.

| void svg_trace_stop | ( | int | thread_rank, |
| int | color | ||
| ) |
Stop tracing an event.
| rank | thread rank |
| color | RGB color |
Definition at line 63 of file svg_trace.c.
References SVG_TRACE_MAX_CORES, and SVG_TRACE_MAX_EVENTS.
