csound / csound

Main repository for Csound
https://csound.com
GNU Lesser General Public License v2.1
1.23k stars 192 forks source link

request for a CPU meter #1419

Open csounder opened 3 years ago

csounder commented 3 years ago

Ableton Live has a CPU meter that shows the load on the CPU when running the program Bela Web IDE has a CPU peter that shows the load on the CPU when running Csound on the Bela it would be useful and nice to have a CPU meter as part of Csound

joachimheintz commented 3 years ago

there is the cpumeter opcode: https://csound.com/docs/manual/cpumeter.html

did you try? once i tried in the past, it did not seem to show the cpu usage very well. but it might be useful to test, and report here.

a GUI meter will certainly not become part of csound.

On 05/01/2021 18:48, csounder wrote:

Ableton Live has a CPU meter that shows the load on the CPU when running the program Bela Web IDE has a CPU peter that shows the load on the CPU when running Csound on the Bela it would be useful and nice to have a CPU meter as part of Csound

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/csound/csound/issues/1419, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQYHKSPB3GA3WTY6OMPQO3SYNGFJANCNFSM4VVX53WQ.

rorywalsh commented 3 years ago

That opcode is OSX and Linux only.

On Tue, 5 Jan 2021 at 18:28, joachimheintz notifications@github.com wrote:

there is the cpumeter opcode: https://csound.com/docs/manual/cpumeter.html

did you try? once i tried in the past, it did not seem to show the cpu usage very well. but it might be useful to test, and report here.

a GUI meter will certainly not become part of csound.

On 05/01/2021 18:48, csounder wrote:

Ableton Live has a CPU meter that shows the load on the CPU when running the program Bela Web IDE has a CPU peter that shows the load on the CPU when running Csound on the Bela it would be useful and nice to have a CPU meter as part of Csound

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/csound/csound/issues/1419, or unsubscribe < https://github.com/notifications/unsubscribe-auth/AAQYHKSPB3GA3WTY6OMPQO3SYNGFJANCNFSM4VVX53WQ .

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/csound/csound/issues/1419#issuecomment-754816737, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAUQWGJ5LPHP6SX6534UX63SYNK6LANCNFSM4VVX53WQ .

csounder commented 3 years ago

Actually, I think cpumeter only works with Linux.

The cpuprc opcode does work on the Mac - but, that allows me to control the load (limit the allocation of instruments based on the amount of CPU being used) but not see how heavy this or that instrument or .csd might be.

Maybe cpuprc could return a value letting the Mac user know how much of the cpu is being used?

-it would be nice..., informative, and useful - on all platforms.

Maybe there is a chance that one could be added to CsoundQt's menu bar or a widget?

Maybe Giulio, from the Bela team - could share his solution with us.

Best,

R

On Tue, Jan 5, 2021 at 2:15 PM Rory Walsh notifications@github.com wrote:

That opcode is OSX and Linux only.

On Tue, 5 Jan 2021 at 18:28, joachimheintz notifications@github.com wrote:

there is the cpumeter opcode: https://csound.com/docs/manual/cpumeter.html

did you try? once i tried in the past, it did not seem to show the cpu usage very well. but it might be useful to test, and report here.

a GUI meter will certainly not become part of csound.

On 05/01/2021 18:48, csounder wrote:

Ableton Live has a CPU meter that shows the load on the CPU when running the program Bela Web IDE has a CPU peter that shows the load on the CPU when running Csound on the Bela it would be useful and nice to have a CPU meter as part of Csound

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/csound/csound/issues/1419, or unsubscribe <

https://github.com/notifications/unsubscribe-auth/AAQYHKSPB3GA3WTY6OMPQO3SYNGFJANCNFSM4VVX53WQ

.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/csound/csound/issues/1419#issuecomment-754816737, or unsubscribe < https://github.com/notifications/unsubscribe-auth/AAUQWGJ5LPHP6SX6534UX63SYNK6LANCNFSM4VVX53WQ

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://us-west-2.protection.sophos.com?d=github.com&u=aHR0cHM6Ly9naXRodWIuY29tL2Nzb3VuZC9jc291bmQvaXNzdWVzLzE0MTkjaXNzdWVjb21tZW50LTc1NDg0MTU4Nw==&i=NWYxNzBkMDNiNTVmZGEwZmIyNjczYmRm&t=dTVMdStIRUErcW5UNXNQcXM5V2o3U0VyYVdhYVIrelNHd0p0dWcwQ0tRYz0=&h=3cffab37934e410c8e3e42deb628758b, or unsubscribe https://us-west-2.protection.sophos.com?d=github.com&u=aHR0cHM6Ly9naXRodWIuY29tL25vdGlmaWNhdGlvbnMvdW5zdWJzY3JpYmUtYXV0aC9BQUxXWUZUVDZEN0pZVDUzWjNINE41TFNZTlFMUEFOQ05GU000VlZYNTNXUQ==&i=NWYxNzBkMDNiNTVmZGEwZmIyNjczYmRm&t=NWR6WFQ4TVpYSlJTUHlzSnNlSDhyUHkzdEs5c2tKcUsrSVlJKzdyWXR4ST0=&h=3cffab37934e410c8e3e42deb628758b .