taura / textshot Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/textshot
Automatically exported from code.google.com/p/textshot
This directory contains everything you need to use sslog, a super simple log file format for performance visualization using jumpshot-4. A converter from the super simple log to slog2 (the native format understood by jumpshot-4). It also contains the original, intact tarball of slog2 SDK. You can either point to existing slog2 (jumpshot) installation in which case you do not need to compile the jumpshot, or can let it automatically install slog2 from the bundled tarball. Either way, it still needs a part of its source file for compling sslog, so the tarball is always unpacked. == INSTALL == The standard procedure will compile sslog and slog2sdk automatically. cd src; ./configure --with-java=... [ --prefix=... ] make make install If you already have a slog2 (jumpshot-4) installation, you may instead do: cd src; ./configure --with-jumpshot=... --with-java=... [ --prefix=... ] make make install == FILE FORMAT == The format is just like CSV. Examples are given in src/examples directory. One of the simplest looks like the following. # state: # category_name,t_begin,t_end,y,info work,0.1,0.5,0,worker 0 working work,0.15,0.7,1,worker 1 working # arrow # category_name,t_begin,y_begin,t_end,y_end,info steal,0.12,0,0.15,1,stolen # event # category_name,t,y,info spawn,0.11,0,spawn f(x) Each line describes either a 'state' (shown as a rectangle), an 'arrow' (shown as an arrow), or an 'event' (shown as a small circle). Which one each line describes is, by default, determined by the number of fields: - an EVENT has FOUR fields (name, time, y-axis, and any info) - a STATE has FIVE fields (name, time_begin, time_end, y-axis, and any info) - an ARROW has SIX fields (name, time_begin, y_begin, time_end, y_end, and any info) The meaning of each field is commented above. The 'category_name' can be an arbitrary string not containing the separator (',' by default). In the above example, it implicitly introduces three category names work, steal, and spawn. You may declare categories before they are used, to specify their appearances (color, opacity, line width) along with their kind (event, state, or arrow; what is called topology in slog2). For example, you may put the following three declarations about work, steal, and spawn. With these declarations, the 'work' will be shown as read boxes, 'steal' as white arrows, and spawn as green small circles. Each will have opacity=255 (not transparent). # category,category_name,event_or_state_or_arrow,R,G,B,opacity,width category,work,state,255,0,0,255,3 category,steal,arrow,255,255,255,255,10 category,spawn,event,0,0,255,255,3 == sslog : converter to slog2 == After successful installation, you will have a command sslog, a converter from sslog format to slog2. sslog a.sslog will produce an slog2-formarted file. The default filename is output.slog2. You can then visualize it by jumpshot. For options, try : sslog -h == FILES == Enjoy!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.