History log of /haiku/src/apps/activitymonitor/DataSource.h
Revision Date Author Comments
# 1f5daef0 27-Feb-2024 Emir SARI <bitigchi@me.com>

ActivityMonitor: use BNumberFormat for i18n

Change-Id: I3179f84cbaee25624c2f4a7b092a28b5281a5f16
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7480
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Niels Sascha Reedijk <niels.reedijk@gmail.com>


# 58af5dce 24-Dec-2021 Adrien Destugues <pulkomandy@pulkomandy.tk>

ActivityMonitor: add CPU speed graph

The info is now available in cpu_info, we should do something with it.

Change-Id: Iac7bd697783d63b5c84c7da33770b3c9a7d417b4
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4832
Reviewed-by: Kacper Kasper <kacperkasper@gmail.com>
Reviewed-by: Axel Dörfler <axeld@pinc-software.de>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>


# d1901581 19-Mar-2011 Stephan Aßmus <superstippi@gmx.de>

Introduced DataSource::InternalName(), which must be implemented by all
derived classes. This is now used for storing and restoring DataSources
in/from the ActivityView archive. Fixes replicant restoration after
switching the preferred system language.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41027 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 87dacc8d 29-Jul-2009 Axel Dörfler <axeld@pinc-software.de>

* Added block cache memory usage data source.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31947 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ed1b2753 07-Apr-2009 Stephan Aßmus <superstippi@gmx.de>

* Some beautification, mostly for when the replicant is embedded on the Desktop.
* Fall back to a shorter legend label when the room is too small (before
truncating).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30001 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 230e3259 10-Oct-2008 Axel Dörfler <axeld@pinc-software.de>

* The network usage data sources are now actually using a single scale as
intended before.
* Also found a bug in the scales that prevented them from working.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27962 a95241bf-73f2-0310-859d-f6bbb57e9c96


# dc79961e 17-Sep-2008 Axel Dörfler <axeld@pinc-software.de>

* Added swap usage and page faults per second data sources.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27598 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 51591198 14-Jul-2008 Axel Dörfler <axeld@pinc-software.de>

* Now use two views when starting (one memory, one CPU usage). The third view
that is added to the window is a networking monitor, all later views default
to CPU usage again.
* DataSources can now share a single adaptive scale, so that they become
comparable in a single view.
* The networking in/out sources are now using this feature.
* DataHistory::ValueAt() now uses binary search to find the right data_item;
this also fixes bug #2140, and makes it possible to change the refresh rate
(which is not yet implemented, though).
* Zooming the timeline now also works by clicking the first mouse button and
dragging the mouse around (instead of only via the scroll wheel, in case you
hadn't noticed yet :-)).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26409 a95241bf-73f2-0310-859d-f6bbb57e9c96


# dc1ffc79 18-Apr-2008 François Revol <revol@free.fr>

- fix BeOS build (it's getting nasty)
- add a media node count data source. Yes I do have work to do instead :P


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25022 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 43eda1cd 17-Apr-2008 Axel Dörfler <axeld@pinc-software.de>

* Each DataSoure now has a "primary" indicator - this is used to separate
more important DataSources from less important ones.
* Made the popup less crowded based on that info.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25021 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e034d18f 17-Apr-2008 François Revol <revol@free.fr>

Really really useless clipboard size data source (both flattened message size and plain text size). I should rather go to sleep than write useless code :D


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25014 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 74158bb4 17-Apr-2008 François Revol <revol@free.fr>

- introduced a SystemInfoHandler class used to watch for stuff when polling isn't needed.
- used it to add a count of running apps (not exactly the same as teams).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25012 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 03aaa278 17-Apr-2008 François Revol <revol@free.fr>

Add Semaphores and Ports data sources.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25011 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8cda9a8e 17-Apr-2008 François Revol <revol@free.fr>

Added Teams data source.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25010 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 3a4a2141 13-Apr-2008 Axel Dörfler <axeld@pinc-software.de>

Some more work on the ActivityMonitor:
* Added legend.
* Added network receiving/sending DataSource.
* Now uses the new layout engine.
* Added support for per CPU DataSources, and added a per CPU CPU usage
DataSource.
* The DataSources can now be turned on and off via popup menu.
* You can now add more than one view to the window.
* The DataSources of the ActivityViews are now remembered.
* Now uses an offscreen bitmap to reduce flicker (it should now no longer
flicker with accelerated graphics).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24955 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 18d3e65e 06-Apr-2008 Axel Dörfler <axeld@pinc-software.de>

* The beginnings of an activity monitor application. Very bare and feature-less
right now, but it's already working (and shows that we better compute our
system_info::cached_pages field directly).
* I am not sure if we want to keep this app here, merge it with
ProcessController, or have it as a separate (3rdparty) app. Opinions welcome.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24846 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d1901581f44663de3630b1be0d2c3b221c4b4d81 19-Mar-2011 Stephan Aßmus <superstippi@gmx.de>

Introduced DataSource::InternalName(), which must be implemented by all
derived classes. This is now used for storing and restoring DataSources
in/from the ActivityView archive. Fixes replicant restoration after
switching the preferred system language.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41027 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 87dacc8defef21e52ba397ebd25f918977255ee6 29-Jul-2009 Axel Dörfler <axeld@pinc-software.de>

* Added block cache memory usage data source.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31947 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ed1b27536bc03e0a594e114846d84c5b32cb0fb7 07-Apr-2009 Stephan Aßmus <superstippi@gmx.de>

* Some beautification, mostly for when the replicant is embedded on the Desktop.
* Fall back to a shorter legend label when the room is too small (before
truncating).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30001 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 230e32592636776ac911283b85f5e17ed2f7375c 10-Oct-2008 Axel Dörfler <axeld@pinc-software.de>

* The network usage data sources are now actually using a single scale as
intended before.
* Also found a bug in the scales that prevented them from working.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27962 a95241bf-73f2-0310-859d-f6bbb57e9c96


# dc79961e1e84edf6a2355b73f28779682622b56a 17-Sep-2008 Axel Dörfler <axeld@pinc-software.de>

* Added swap usage and page faults per second data sources.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27598 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 51591198d6bef95aae6948b6d2c879c549141648 14-Jul-2008 Axel Dörfler <axeld@pinc-software.de>

* Now use two views when starting (one memory, one CPU usage). The third view
that is added to the window is a networking monitor, all later views default
to CPU usage again.
* DataSources can now share a single adaptive scale, so that they become
comparable in a single view.
* The networking in/out sources are now using this feature.
* DataHistory::ValueAt() now uses binary search to find the right data_item;
this also fixes bug #2140, and makes it possible to change the refresh rate
(which is not yet implemented, though).
* Zooming the timeline now also works by clicking the first mouse button and
dragging the mouse around (instead of only via the scroll wheel, in case you
hadn't noticed yet :-)).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26409 a95241bf-73f2-0310-859d-f6bbb57e9c96


# dc1ffc79efc4e89a886c17a1b70ec308b77361d3 18-Apr-2008 François Revol <revol@free.fr>

- fix BeOS build (it's getting nasty)
- add a media node count data source. Yes I do have work to do instead :P


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25022 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 43eda1cd8f591b46ae6fbe9e009d1126034defbf 17-Apr-2008 Axel Dörfler <axeld@pinc-software.de>

* Each DataSoure now has a "primary" indicator - this is used to separate
more important DataSources from less important ones.
* Made the popup less crowded based on that info.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25021 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e034d18f42b62e41bfe60fb694add5df1667410b 17-Apr-2008 François Revol <revol@free.fr>

Really really useless clipboard size data source (both flattened message size and plain text size). I should rather go to sleep than write useless code :D


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25014 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 74158bb474dca9b4236178b7c48224979244c142 17-Apr-2008 François Revol <revol@free.fr>

- introduced a SystemInfoHandler class used to watch for stuff when polling isn't needed.
- used it to add a count of running apps (not exactly the same as teams).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25012 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 03aaa278a5ea16779412efdf13082436c1e816c3 17-Apr-2008 François Revol <revol@free.fr>

Add Semaphores and Ports data sources.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25011 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8cda9a8ead9fee7d1809ad406fb5f8711ea5fc40 17-Apr-2008 François Revol <revol@free.fr>

Added Teams data source.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25010 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 3a4a214197712d83f79b1f035937ada3d486dbea 13-Apr-2008 Axel Dörfler <axeld@pinc-software.de>

Some more work on the ActivityMonitor:
* Added legend.
* Added network receiving/sending DataSource.
* Now uses the new layout engine.
* Added support for per CPU DataSources, and added a per CPU CPU usage
DataSource.
* The DataSources can now be turned on and off via popup menu.
* You can now add more than one view to the window.
* The DataSources of the ActivityViews are now remembered.
* Now uses an offscreen bitmap to reduce flicker (it should now no longer
flicker with accelerated graphics).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24955 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 18d3e65ebdb42c4a1a7e2963101de48107b930f1 06-Apr-2008 Axel Dörfler <axeld@pinc-software.de>

* The beginnings of an activity monitor application. Very bare and feature-less
right now, but it's already working (and shows that we better compute our
system_info::cached_pages field directly).
* I am not sure if we want to keep this app here, merge it with
ProcessController, or have it as a separate (3rdparty) app. Opinions welcome.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24846 a95241bf-73f2-0310-859d-f6bbb57e9c96