Commit Graph

20 Commits

Author SHA1 Message Date
c8d97eb198 filter: backport fixes from dazzle 2018-09-10 17:07:29 -07:00
50ccd73592 visualizers: use double instead of float
To give us less changes of incorrect values when converting between scales
(at the cost of 2x the array size).
2018-06-16 20:22:53 -07:00
d523fcc024 rectangles: cycle colors
We will still probably want something smarter here, but this gets things
to be more distinguished than black.
2018-05-17 09:05:26 +01:00
9381ae3070 rectangles: add basic tooltip support
We definitely want to do something better, but this at least allows testing
some data which is useful now to see what is going on.
2018-05-16 16:33:46 +01:00
ca5684910f rectangles: improve rectangle positioning 2018-05-16 15:09:33 +01:00
1140e80efc rectangles: start on helper to generate rectangle data
This is meant to be used by marks visualizer to show rectangles.
2018-05-16 12:44:48 +01:00
1e0f505d7c model-filter: simplify model filter implementation
We've had a number of errors reported from our previous
model filter implementation. This simplifies the impliementation
using a simple cross-reference structure with GSequenceIter in
both sequences.

We try extra hard to not emit signals when doing invalidation.
2017-11-24 22:02:06 -08:00
b142d79bdc util: clear field when destroying
Just to be a bit more defensive.
2017-11-24 00:35:42 -08:00
b78293657d util: add synchronous form to reload model 2017-11-24 00:35:14 -08:00
00b6892a72 build: fix header installation paths 2017-09-28 17:45:07 -07:00
190faa818d build: use subdir meson.build files
This keeps the build file closer to the sources it effects.
2017-09-28 16:57:00 -07:00
c47822b26e source tree cleanup
The lib/ directory was getting a bit out of hand, so this tries
to organize things a bit so it is easier going forward to locate
the code people want to patch.
2017-09-28 16:23:03 -07:00
c8fa62e839 symbols: provide minimal API to specify symbol directories
This gives us the ability to locate symbols by directory in a much more
maintainable manner. Library consumers can adjust their location based
on where they know symbols are likely to be located.
2017-02-25 21:35:21 -08:00
571c2320da pointcache: add PointCache utility class
This is a simple cache that keeps x,y pairs for use when drawing
visualizers. To keep this generic, and save on memory, we simply
store the x,y coordinates as floats between 0.0 and 1.0. This
saves us roughly 50% on each data point over the 2 8-byte
numbers we would otherwise store.

Obviously, we could take this further and make some fancy index
storage with run-length-encode values, but this should work for
now and allow us to get more exotic later.
2016-09-26 17:34:58 -07:00
1b89cc58cf lib: use stdatomic.h for memory barriers
C11 gives us APIs for fencing logic.  Use that instead of a
a long, per-architecture, hand curated list of definitions.
2016-08-23 16:52:29 -04:00
1c1ef02b3d util: add full memory barrier fallback 2016-08-23 10:08:37 -07:00
6ed7ec20ae util: add read_barrier() for ARMv7 2016-08-22 11:54:10 -07:00
3cfcee4757 util: use ifdef instead of if defined 2016-08-22 11:53:58 -07:00
46a257da6e elfparser: suppress warnings about cast alignment
These are aligned according to the spec, so we can simply silence them
with the gpointer cast.
2016-08-21 17:32:59 -07:00
29c4ec495f Land Sysprof 2.x
This is a major redesign a modernization of Sysprof. The core data
structures and design are largely the same, but it has been ported to
Gtk3 and has lots of additions that should make your profiling experience
smoother. Especially for those that are new to profiling.

There are some very simple help docs added, but we really need the
experts to come in and write some documentation here.
2016-04-13 05:24:03 -07:00