For the X86 codegen I would like to add new field for each instruction (Power of each instruction), how can I map to each instruction a Power number?
I would like to be able to associate Power level number to each MachineInstruction, so once I go over the instruction after scheduling I would like to sum the power numbers of all MachineInstruction being scheduled , the problem that I don't know where to add this at the .td file of the x86 codegen
Thanks
Jawad
Related
The tool "HwInfo" seems to query power consumption from SVID VR telemetry. I could not find any resources how they obtain this information.
Some alternatives I've considered is using the MSR data to get power consumption, but the APIs to read msr is only allowed in kernel mode and by creating a driver. Would like to rather read this power information from a user program, preferably like how HwInfo does it.
I would like to allow users to input a integer number to be used in some calculations.
I know that it is possible to use What-if parameters. However, What-if parameters can only be used with value ranges between 0 and 1,000. For the ranges greater than 1,000, the parameter value will be sampled.
For example, I can't write 8,529 because the number will be sampled to 8,521.
Maybe there is some hidden workaround or a custom visual component. I tested with Smart Filter by OKVIZ but it doesn't work in Power BI Service neither in an embedded application.
Thanks a lot!
--- Miguel-Angel
I used the Smart Filter Pro and it works.
I've got a quite complex C++ program and would like to read the fp_arith_inst_retired.scalar_single PMU of my processor before/after a code block so I can calculate different flop values for this region.
Is there beside using perf a suitable way doing this? Perf measures the complete executable and that's quite a lot ...
I just wondered why is the % correctly classified differs from the Explorer and Experimenter aspects of Weka. I have checked to ensure I am employing 10-cross fold validation as well as all other paramaters!
Anyone have any ideas?
Thanks
I have the solution, as provided by Mark Hall, as I emailed him on the Weka Mail list. Here is the difference between Explorer and Experimenter:
The Experimenter operates differently from the Explorer. The Explorer
sums evaluation metrics over the folds of the cross validation - e.g.
percent correct is computed by summing all the correctly classified
instances over the test folds and then dividing by the total number of
instances. The Experimenter, on the other hand, computes averages over
the folds. Furthermore, the default in the Experimenter is to run 10
repetitions of 10-fold cross-validation (so 100 folds are averaged over).
Not sure but random seed might be different on Explorer and Experimenter. If this is the case, data sets will differ which results to different percentage.
I am running the optimisation of two sets of data against each other and am after some assistance as to looking up settings of the run based on the calculated results. I'll explain....
I run 2 data lines against each other (think graph lines) - Line A and Line B. These lines have crossing points - upward and downward based on the direction of each line.e.g. Line A is going up and Line B is going down is an 'Upwards cross' and Line A going down and Line B going up is a 'Downward cross'.The program calculates financial analysis.
I analyze the crossing points and gain a resultant 'Rank' from the analysis based on a set of rules. The rank is a single integer.
Line A has a number of settings for the optimisation run e.g. Window 1 from a value of 10 to 20 and window 2 at a value of 30 to 40. Line B also has settings.
When I run the optimisation I iterate through the parameters available for each line and calculate the rank. The result of the optimisation run is a list of the ranks which is the size of the number of permutations avaliable.
So my question is this:
What is the best way to look up the line settings from the calculated rank using a position (index) in the rank list. The optimisation settings used to create the run will be stored for that rank run and can be used for the look-up.
I also will be adding additional parameters in the future to the system for the line so I want the program to take into account additional future line settings without affecting any rank files created previous to adding the new parameter.
In addition to that I want to be able to find out an index based on a particular setting included in the optimisation run (the reverse look-up of the previous method).
I want to avoid versioning for backward compatability if at all possible so that the lookup algorithm will be self-sufficient.
Is a hash table suitable for this purpose or do you have any implementation techniques that would fit better? Do you have any examples of this type of operation in action in C++?
Thanks,
Chris.
If I understand correctly, you have a bunch of associated data (settings + rank), on which you would like to be able to perform lookups with different key types. If so, then Boost.MultiIndex sounds like what you're looking for.