CN102945162B - The method and apparatus that the use temperature figure of logic CPU division represents is realized for equipment - Google Patents

The method and apparatus that the use temperature figure of logic CPU division represents is realized for equipment Download PDF

Info

Publication number
CN102945162B
CN102945162B CN201210416294.7A CN201210416294A CN102945162B CN 102945162 B CN102945162 B CN 102945162B CN 201210416294 A CN201210416294 A CN 201210416294A CN 102945162 B CN102945162 B CN 102945162B
Authority
CN
China
Prior art keywords
cpu
logic
equipment
logic cpu
divides
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210416294.7A
Other languages
Chinese (zh)
Other versions
CN102945162A (en
Inventor
C.L.罗德斯
P.S.波诺马雷夫
M.P.杜伊南
P.D.多纳特
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Microsoft Technology Licensing LLC
Original Assignee
Microsoft Technology Licensing LLC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from US13/345,482 external-priority patent/US10114679B2/en
Application filed by Microsoft Technology Licensing LLC filed Critical Microsoft Technology Licensing LLC
Publication of CN102945162A publication Critical patent/CN102945162A/en
Application granted granted Critical
Publication of CN102945162B publication Critical patent/CN102945162B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

Equipment display logic CPU (CPU) divided for having multiple logic CPU divides administration view.This administration view is shown as including that the temperature figure of multiple cell represents, each cell is corresponding in the division of multiple logics CPU.The part represented as this temperature figure, use that each in multiple cells divides based on corresponding logic CPU and show in one of a number of different fashions, and the use numerical value identifying the use of corresponding in multiple logic processor one can also be displayed in cell.

Description

The method and apparatus that the use temperature figure of logic CPU division represents is realized for equipment
Related application
This application claims entitled " the Logical Processors Heat that Christina L. Rhodes et al. submits on October 26th, 2011 Map Representation " the priority of U.S.Provisional Serial 61/551886, it is open the most incorporated herein by reference.
Background technology
Along with the progress of technology, the CPU (CPU) used in various calculating equipment has been evolved into multiple instruction execution cores and the logical partitioning with parallel execution of instructions from the single instruction execution core with serial execution instruction.These calculating equipment are also evolved into and have multiple CPU of parallel execution of instructions from having single cpu.Although these progressive disposal abilities that improve calculating equipment, but not there is no problem for they.One of such problem is the assumption that in calculating equipment and can include that substantial amounts of logic CPU divides, and the activity that user can be difficult to divide all logics CPU across this calculating equipment monitors.
Summary of the invention
This summary of the invention is provided to introduce the selection of the following concept further described in a specific embodiment in simplified form.This summary of the invention is not intended to identify key feature or the essential feature of claimed theme, is also not intended to be used to limit the scope of claimed theme.
According to one or more aspects, logic CPU (CPU) divides administration view and is shown as temperature figure (heat map) expression at equipment.This temperature figure represents and includes multiple cell, and the most each cell is corresponding to one of multiple logic CPU divisions of this equipment.As a part for this temperature figure representation, use that each in multiple cells divides based on corresponding logic CPU and show in one of a number of different fashions.
According to one or more aspects, have divide less than logic CPU of threshold number if having the equipment that multiple logic CPU (CPU) divides, then logic CPU for this equipment divides administration view and is shown as figure and represents.This figure represents the use including that one or more figure, the most each pattern identification go out corresponding during multiple logic CPU divides one.But, if logic CPU that this equipment has at least number of thresholds divides, then logic CPU for this equipment divides administration view and is shown as temperature figure and represents.This temperature figure represents and includes that each of which corresponds to multiple cells that logic CPU divides, and the use that divides based on corresponding logic CPU of each in multiple cell and show in one of a number of different fashions.
Accompanying drawing explanation
Same reference numerals runs through accompanying drawing and refers to same feature.
Fig. 1 is the block diagram illustrating the example apparatus represented according to the use temperature figure realizing the division of logic CPU of one or more embodiments.
The example graph of the administration view that Fig. 2 illustrates the logic CPU division according to one or more embodiments represents.
The example temperature figure of the administration view that Fig. 3 illustrates the logic CPU division according to one or more embodiments represents.
Fig. 4 illustrates the example prompting frame according to one or more embodiments.
The example temperature figure of the administration view that Fig. 5 illustrates the logic CPU division according to one or more embodiments represents.
The example temperature figure of the administration view that Fig. 6 illustrates the logic CPU division according to one or more embodiments represents.
Fig. 7 is to illustrate to realize, for equipment, the flow chart of example process that the use temperature figure that logic CPU divides represents according to one or more embodiments.
Fig. 8 illustrate according to one or more embodiments can be configured to realize the Example Computing Device that represents of use temperature figure that logic CPU divides.
Detailed description of the invention
Here the use temperature figure divided logic CPU represents discusses.Calculating equipment includes that multiple logic CPU divides, the most multiple logic processors.The use that these multiple logics CPU divide can show in every way.If calculating equipment includes dividing less than logic CPU of number of thresholds, then make graphically, wherein show that logic CPU that multiple figure and each figure are corresponding is divided in the figure of the use in special time amount.But, if logic CPU that calculating equipment includes at least number of thresholds divides, then use temperature figure to represent, wherein display has a form of multiple cell and each cell show the use of corresponding logic CPU division.Use that each cell divides based on corresponding logic CPU and one of (such as use different colours intensity) in a multitude of different ways and show.
Fig. 1 is the block diagram illustrating the example apparatus 100 represented according to the use temperature figure realizing the division of logic CPU of one or more embodiments.Equipment 100 can be various types of equipment, such as physical equipment or virtual unit.Such as, equipment 100 can be such as desk computer, server computer, above-knee or notebook, flat board or notepad computers, mobile site, entertainment device, be communicatively coupled to the Set Top Box of display device, television set or other display device, honeycomb or the physical equipment of other radio telephone, gaming consoles, car-mounted computer etc..Equipment 100 can also be virtual unit, the virtual machine run the most on the physical devices.Virtual machine can be in the upper operation of any various types of physical equipment (any type in all kinds such as, listed above).
Equipment 100 includes one or more CPU (CPU) 102 and memorizer 104.Each of CPU 102 may each comprise multiple (x) logic CPU and divides 106.It is that logic (rather than physics) divides that each logic CPU divides 106, and it allows single cpu 102 to be considered multiple CPU.Different CPU 102 can have logic CPU of equal number and divide the 106 and/or different CPU 102 logics CPU divisions 106 can with varying number.Each CPU 102 can have one or more core, and each core of CPU 102 can have one or more logic CPU and divide 106.Different core can have equal number logic CPU divide 106 and/or different core can have varying number logic CPU divide.
In one or more embodiments, each logic CPU divides is logic processor.Each logic processor is addressed as single CPU by calculating the operating system (or alternatively individually core cpu) run on equipment 100 and treats, although multiple such logic processor can (and generally) by the identical core of identical CPU 102(or identical CPU 102) realized or realized thereon.Alternatively, it can be different logical partitionings that each logic CPU divides, the most non-unified memory access (NUMA) node.Each NUMA node includes memory area, and also can include logic processor, CPU and/or core cpu.Although many discussion here relates to logic processor, it is noted that other logic CPU that such discussion can also be applied to such as NUMA node divides.
Memorizer 104 includes volatile memory (such as, random access storage device (RAM)) and/or nonvolatile memory (such as, flash memory, read only memory (ROM)).Memorizer 104 stores by the instruction performed by one or more CPU 102.Memorizer 104 includes operating system 112 and one or more process 114.Each different program can be run on the appliance 100 as processing 114, such as entertainment program, games, resource method, implementing procedure, production routine etc..The operation processing 114 is managed by operating system 112, processes 114, and the execution of the request stopping processor 114 in response to user's termination including the request startup running program in response to user.
Operating system 112 includes that logic CPU divides management module 116, and it obtains and divides 106 relevant information to logic CPU.Management module 116 also generates one or more logic CPU and divides administration view, as a more detailed discussion of the following, represents that (also referred to as graphics view) and temperature figure represent (also referred to as temperature figure view) including figure.Management module 116 use that display logic CPU divides in those logics CPU divide administration view.
These logics CPU divide administration view by managing module 116 via shown by user interface (UI) or otherwise presenting.Various users input can also use various different input mechanism to provide via UI, such as by keypad or one or more buttons of keyboard of presses 100, one or more buttons of the controller of presses 100, the touch pad of presses 100 or the specific part of touch screen, the touch pad or touch screen of equipment 100 make certain gestures, certain gestures made by the controller of equipment 100, audible input is provided to mike, make the viewed hand of image capture assemblies or the special exercise of other body part, etc..Being inputted by these various users, user can select specific button, display part, menu item etc..Although Fig. 1 illustrates single management module 116, it is noted that the function of module 116 can alternatively be distributed among multiple module.
In the example illustrated in Fig. 1, equipment 100 includes that CPU 102 and logic CPU divide management both modules 116, and the administration view that logic CPU divides is generated on the identical device including CPU 102 and shows.Alternatively, logic CPU divide administration view can with include generating on the identical device of CPU 102, and signal is provided to display logic CPU thereon and divides another equipment of administration view.Alternatively, logic CPU divides management module 116 and can be included on the equipment different from CPU 102, and therefore logic CPU division administration view can generate (and display) on the equipment being different from the equipment including CPU 102.
Typically, management module 116 generates in response to user's input of request display logic CPU division administration view and display logic CPU divides administration view.Alternatively, management module 116 can generate in response to multiple different event and display logic CPU divides administration view, event such as from another assembly of equipment 100 or the request of module, request from another equipment, etc..
In one or more embodiments, module 116 includes less than (or being alternatively less equal than) number of thresholds (such as at equipment 100,64) logic CPU division administration view is shown as figure in the case of dividing 106 and represents by logic CPU, and includes that at least in the case of logic CPU of (or being alternatively more than) number of thresholds divides 106, logic CPU division administration view being shown as temperature figure represents at equipment 100.This number of thresholds can be varied from, and can optionally user or manager by equipment 100 be configured.Alternatively, display figure represents or temperature figure represents the configuration setting that (and/or number of thresholds) can be the user of equipment 100 or manager can set.Any number of logic CPU can also be existed for and divide the option being turned on and off the feature that this order difference expression is shown.This option such as can be selected by the user of equipment 100 or manager.
The use that logic CPU divides refers to that the division of this logic CPU has how many disposal abilities being just used to carry out processing (such as, logic CPU is divided into busy rather than idle percentage of time).These process can include processing 114 and realize at least part of operating system 112 process.This use that logic CPU divides is also referred to as the activity that logic CPU divides.
The use that logic CPU divides can determine in a variety of different ways.In one or more embodiments, operating system (such as, the operating system 112 of Fig. 1) includes that one or more each logic CPU for CPU 102 divides the module following the trail of logic CPU division usage amount.In such embodiments, logic CPU divides management module 116 and obtains the logic CPU division numbers divided for each logic CPU from these one or more modules.Management module 116 is also directed to each logic CPU and divides and obtain each process logic CPU from these one or more modules and divide usage quantity.Alternatively, the use that each logic CPU divides can otherwise determine.Such as, logic CPU divides manager (such as, processor scheduler) and can be tracked the usage amount that each logic CPU divides, and manages the quantity that module 116 can use from the acquisition logic CPU division of this manager.Management module 116 can also be for each logic CPU and divides and obtain each process logic CPU from this manager and divide usage quantity.
Fig. 2 illustrates the example graph of the logic CPU division administration view according to one or more embodiments and represents 200.Divide with reference to logic CPU as logic processor and figure is represented that 200 discuss, but other logic CPU divides and can show in figure represents 200 similarly.
Figure represents that 200 include visuals 202 and data division 204.Visuals 202 includes corresponding to the figure of each in multiple logic processors.In illustrated example, equipment includes four logic processors, and therefore visuals 202 includes four figures.Each graphical representation in visuals 202 certain logic processor logic processor in special time amount uses.Such as, this special time amount can be 60 seconds, but alternatively can use and measure At All Other Times.
Logic processor uses and various data unit can be used to show.Such as, logic processor uses the percentage ratio that can be shown as certain logic processor, the percentage ratio (such as, the percentage ratio of overall available logic processor ability) of all abilities of logic processor as used.It is alternatively possible to use other data unit.
In one or more embodiments, each view is default to use logic processor be shown as the percentage of time that this logic processor is busy and busy, regardless of whether this logic processor is to perform code with kernel or other (such as, user) pattern.But, user can select to open " display kernel uses " optionally by providing various inputs (such as, selecting menu item, select button, input certain gestures etc.).Kernel uses and refers to perform in kernel the utilization of the logic processor of code, and each figure in visuals 202 can include the additional lines (not shown) that illustrates the use of each logic processor performing code in kernel.Therefore, when illustrating that kernel uses, each figure in visuals 202 includes two lines: a bar chart shows the use of the pattern how corresponding logic processor no matter performing code, and another line then illustrates the use of the corresponding logic processor performing code in kernel.This two lines in figure can show by different way, two lines such as shows different pattern (such as, solid line and dotted line), two lines is shown different colours, different line intensity or width, etc..
In the example illustrated in Fig. 2, each figure has and identifies time range (such as, 60 seconds before) trunnion axis and each time point in this time range (such as, each second) identify the vertical axis scope of 0% to 100% (such as, from) of the percentage ratio of used logic processor ability.This figure is illustrated as curve chart, although alternatively can use any various types of figure and/or chart, such as superposition plot, block diagram, superposition block diagram, Gantt chart etc..
In one or more embodiments, in prompting frame or other window or region, the additional information relevant to the logic processor corresponding to the figure in visuals 202 is shown.When this additional information such as can work as on figure hovering (such as, when above cursor or finger are positioned at shown figure), (such as, touching figure by user) when image is chosen etc. shows.As a more detailed discussion of the following, various additional information can be shown in such prompting frame or other window or region.
In the example illustrated in Fig. 2, each figure corresponds to the use of single logic processor and shows it.Alternatively, in some cases, figure can correspond to and show the use (such as, the use of multiple logic processors the most together) of multiple logic processor.
The various data relevant for CPU that data division 204 is implemented thereon to logic processor or implemented by logic processor.In illustrated example, about CPU use or utilize (such as, as illustrated 9%), the speed of CPU is (such as, 2.00 GHz as illustrated), the quantity of the process run on CPU is (such as, as illustrated 51), the quantity of the thread run on CPU is (such as, as illustrated 944), the quantity of the upper handle managed by operating system of CPU is (such as, as illustrated 153082) and such as from equipment be restarted for the last time or time quantum starting shooting the CPU cumulative time (such as, 4:22:59:12 as illustrated, such as 4 hours 22 minutes 59 and 12/100 seconds) data be included in data division 204.In addition, in illustrated example, the maximal rate of CPU is (such as, 2.83 GHz as illustrated), concurrent physical processor in equipment or the quantity of CPU are (such as, in illustrated example 1), the quantity of the logic processor implemented on CPU in a device or by it is (such as, in illustrated example 4), virtualization for CPU is supported not supporting (such as, invalid in illustrated example), the size of the L1 cache that CPU is used is (such as, 256 KB(kilobytes in illustrated example)) and the size of L2 cache that used of CPU is (such as, 12288KB in illustrated example) it is also included within data division 204.It should be noted that, data included in data division 204 are the examples that can carry out the data shown together with the figure in visuals 202.But, not illustrated in data division 204 all data are required for being shown, and/or additional data can be included in data division 204.Such as, data division 204 can not include data (in this case, figure represent include that visuals 202 does not include data division 204), only includes the instruction of multiple logic processor, the data of the scale of the flat axle of water outlet and/or vertical axis are identified in visuals 202, etc..
Data shown in visuals 202 and/or data division 204 are updated with rule or erratic interval, such as default to each second once.This interval optionally by including this logic processor and/or can be implemented logic CPU and divides the user of equipment of management module (such as, the module 116 in Fig. 1) or manager is configured.
In illustrated example, data division 204 shows the data across all logic processors.Alternatively, data division 204 can show the data carrying out organizing by different way, (illustrated similar with data division 204) data of each CPU are such as shown by the CPU with individually son division, (illustrated similar with data division 204) data of each core cpu are shown by the core cpu with individually son division, etc..
Fig. 3 illustrates the example temperature figure of the logic CPU division administration view according to one or more embodiments and represents 300.Divide, with reference to logic CPU as logic processor, the temperature figure that also referred to as table view or form are represented and represent that 300 discuss, but the division of other logic CPU also is able to represent in 300 at temperature figure similarly and shows.
Temperature figure represents that 300 include temperature figure part 302 and data division 304.Temperature figure part 302 includes form or the grid with multiple cell (cell), and each cell is corresponding to one of multiple logic processors.Temperature figure in example represents in 300, and each cell includes the numerical value indicating logic processor to use.Such as, in temperature figure part 302, the use of the logic processor that the instruction of upper left cell is corresponding is 0%, and in temperature figure part 302, the use of the logic processor that the instruction of top-right cell is corresponding is 16%, etc..The numerical value that instruction logic processor uses can use various data unit to show.Such as, processor uses the percentage ratio that can be shown as certain logic processor, the percentage ratio (such as, the percentage ratio of overall utilogic processor ability) of all logic processor abilities as used.It is alternatively possible to use other data unit (such as, corresponding logic processor each second performed by instruction number).
Additionally, in temperature figure part 302, the use based on corresponding logic processor of each cell and show in one of a number of different fashions.In one or more embodiments, these multitude of different ways include that using shades of colour intensity to be color coded cell has how many logic processor ability to be being used with instruction.Temperature figure in example represents in 300, and the background of cell uses different colours intensity to be color coded.Alternatively, being different from the background to cell to be color coded, can use color intensity by different way, the numerical value being such as used for using instruction logic processor is color coded, it is used for the profile around cell or frame are color coded, etc..
The figure utilizing different color intensities that cell is color coded the data referring to that the numerical value that wherein variable is taken is indicated by intensity represents, it is the combination of saturation measuring and increasing (or reduction) reducing (or increasing).This visually can be by indicated by different colours or shade.Using temperature figure to allow logic processor and use and carry out quick visual cues, the strongest color indicates higher use compared with the strongest color.
Table I illustrates the example of the color intensity that can be used in the temperature figure that different logic processors uses numerical value.In the example of Table I, logic processor uses numerical value to be confirmed as the percentage ratio of used logic processor ability, and logic processor uses the different range of numerical value corresponding to different intensity.The relatively low intensity of numerical value is be not as higher as the intensity that numerical value strong (such as, intensity 1 is not as intensity semi-finals).Intensity difference between varying strength numerical value can be non-linear or linear.Such as, the intensity difference between intensity 1 and intensity 2 can be identical with the intensity difference between intensity 4 and intensity 5, or described difference can difference (such as, the intensity difference between intensity 1 and intensity 2 can be less than the intensity differences between intensity 4 and intensity 5).It should be noted that, Table I is the example of the color intensity that can use, but any number of intensity can be used, and arbitrary grain size category can be used, etc..
Table ITable I
The % of used logic processor Intensity
0 Intensity 1
1-20 Intensity 2
21-40 Intensity 3
41-60 Intensity 4
61-80 Intensity 5
81-100 Intensity 6
In one or more embodiments, logic processor use instruction and logic-based processor use determined by color intensity be based on particular point in time logic processor use.This logic processor uses and can be updated with rule or irregular interval, and the most default each second is once.This interval optionally by including logic processor and/or can be implemented logic CPU and divides the user of equipment of management module (such as, the module 116 of Fig. 1) or manager is configured.Alternatively, logic processor uses instruction and logic-based processor use determined by color intensity be that logic processor based on multiple time points uses (such as, the logic processor in the time interval of such as five seconds use meansigma methods).
When logic processor uses and is updated, the cell in temperature figure part 302 is also updated to reflect that new logic processor uses numerical value.Cause logic processor to use numerical value to be among different range if the logic processor being updated over uses, then logical block lattice can also be updated to carry out by different way showing (such as, using different colours intensity).Such as, if but logic processor uses numerical value to be 25% is updated to 55% subsequently, the most corresponding cell will be updated to show " 55% " rather than " 25% ", and according to Table I, intensity will be for intensity 4 rather than intensity 3.Therefore, when user checks that temperature figure represents 300, temperature figure part 302 is real time updated and uses with the display logic processor when user checks that temperature figure represents 300.
In the example illustrated in figure 3, each cell corresponds to and shows the use of single logic processor.Alternatively, in some cases, cell can correspond to and show the use (such as, the use of multiple logic processors the most together) of multiple logic processor.
Similar with the data of display in the data division 204 discussed above with reference to Fig. 2, data division 304 includes the various data relevant for CPU implemented thereon to logic processor or implemented by it.In illustrated example, use with CPU or utilize (such as, as illustrated 19%), the speed of CPU is (such as, 2.33 GHz as illustrated), the quantity of the process run on CPU is (such as, as illustrated 732), the quantity of the thread run on CPU is (such as, as illustrated 8319), the quantity of the upper handle managed by operating system of CPU is (such as, as illustrated 4671234) and such as from equipment be restarted for the last time or time quantum starting shooting the CPU cumulative time (such as, 16:02:27:39 as illustrated, such as 16 hours 2 minutes 27 and 39/100 seconds) relevant data are included in data division 204.In addition, in illustrated example, the maximal rate of CPU is (such as, 3.02GHz as illustrated), concurrent physical processor in equipment or the quantity of CPU are (such as, in illustrated example 64), the quantity of the logic processor implemented on CPU in a device or by it is (such as, in illustrated example 128), virtualization for CPU is supported not supporting (such as, not supporting in illustrated example), the size of the L1 cache that CPU is used is (such as, 256 KB in illustrated example) and the size of L2 cache that used of CPU is (such as, MB(Mbytes, in illustrated example 2)) it is also included within data division 304.It should be noted that, data included in data division 304 are the examples that can carry out the data shown together with the cell in temperature figure part 302.But, not illustrated in data division 304 all data are required for being shown, and/or additional data can be included in data division 304.Such as, data division 304 can not include data (in this case, temperature figure represents that 300 include that temperature figure part 302 does not include data division 304), only includes the instruction of logical processor number, etc..
In illustrated example, similar with the data division 204 discussed above with reference to Fig. 2, data division 304 shows the data across all logic processors.Alternatively, data division 304 can show the data carrying out organizing by different way, (illustrated similar with data division 304) data of each CPU are such as shown by the CPU with individually son division, (illustrated similar with data division 304) data of each core cpu are shown by the core cpu with individually son division, etc..
In one or more embodiments, logic processor can be suspended.The logic processor suspended refers to that the movable particular state that can be performed by with circumscription logic processor carries out the logic processor operated.The logic processor suspended can be applied various restrictions, such as about suspending the restriction of the thread type run on logic processor, about suspending the restriction of the process type run on logic processor, etc..Logic processor can be suspended in the case of this logic processor is implemented on the core cpu being suspended.Core is suspended and such as this core can be allowed to be placed in free time or other low power state to save power.
Temperature figure part 302 can include the instruction of which cell logic processor corresponding to being suspended, and this allows user by checking which cell is temperature figure part 302 be easily seen corresponding to the logic processor suspended.In one or more embodiments, profile or frame are placed in around cell to indicate this logic processor to be suspended.This profile or frame can be same color with the color for temperature figure color intensity discussed above, but there is the contrast proportional to the color intensity for this cell (such as, so that the background of cell is color coded, the numerical value using instruction logic processor is color coded, etc.).Contrast is proportional, and therefore the intensity of profile or frame changes based on the color intensity for this unit, causes not having profile or frame visually more prominent than other profile or frame.
The instruction of the logic processor suspended may also take on different forms.Such as, it is different from and uses the profile of the color same color used with the color intensity of temperature figure or frame, this profile or the frame can be for being different from the color used by the color intensity of temperature figure discussed above.As another example, the particular value that uses for logic processor (such as, value "--" or value " are suspended ") can be displayed in the cell corresponding with suspending logic processor.
Additionally, in one or more embodiments, the prompting frame corresponding with the cell in temperature figure part 302 is shown.This prompting frame such as can be worked as when hovering above cell (such as, when cursor or finger are positioned at above shown cell), (such as, touch cell by user) shows when cell is chosen, etc..Prompting frame refers to show the additional window of the additional information relevant to the logic processor corresponding to this cell or other region wherein.Alternatively, the display additional information relevant to logic processor it is different from prompting frame, it is possible to use individually (such as, fix) window or region shows the additional information relevant to the logic processor of cell corresponding to hover thereon, be chosen etc..
Prompting frame shows the various information relevant to the logic processor corresponding corresponding to this cell, the instruction whether identifier of such as this logic processor, this logic processor suspend, the CPU implementing this logic processor and/or the identifier of core, etc..Alternately and/or additionally, various out of Memory can be shown, such as contribute to corresponding logic processor use certain amount of (such as, three) process (such as, corresponding logic processor is used the process that contribution is most), the use of corresponding logic processor, the process run on corresponding logic processor or the quantity of thread, corresponding logic processor performs use during code in kernel, etc..In addition and/or alternatively, the various out of Memory that the core of the CPU to corresponding logic processor, implementing corresponding logic processor and/or the CPU implementing corresponding logic processor is relevant can be displayed in prompting frame.
Fig. 4 illustrates the example prompting frame 400 according to one or more embodiments.Fig. 4 illustrates the temperature figure of Fig. 3 and represents 300, and it has prompting frame 400.Prompting frame 400 shows the identifier (3) of the logic processor of the cell hovered above it corresponding to cursor 402, and the instruction that the logic processor of the cell hovered above it corresponding to cursor 402 is suspended.Profile or frame can also be placed in around the cell that cursor 402 hovers above it and be suspended corresponding to the hover logic processor of cell thereon of cursor 402 with instruction.This profile or frame can be to show with different modes discussed above, but such as use the color identical with the color that the color intensity of temperature figure is used to carry out showing have the contrast that the color intensity used with this cell is proportional, the color different with the color that the color intensity of temperature figure is used is used to show, etc..
Returning Fig. 3, the cell in temperature figure part 302 can be laid out in a variety of ways.In one or more embodiments, in order to the cell in temperature figure part 302 is laid out, for including that the size of the maximum frame of the used language of equipment of logic processor and/or enforcement logic CPU division management module (such as, the module 116 of Fig. 1) is determined.First place in the Free Region of temperature figure part 302 will in level place so much frame, and subsequently suitable for each row longitudinal stack is got up with shown with logic processor as much by the region being positioned over temperature figure part 302.More as shown in cell included in fruit part 302 is caned than single, then can include scroll bar 306 in temperature figure part 302.
In one or more embodiments, if including that the size of the window of temperature figure part 302 is reset (such as, by user), the most each frame is laid out the most as described above.The size resetting the window including temperature figure part 302 does not change the size of cell, but can change the layout order of cell.Alternatively, if including that the size of the window of temperature figure part 302 is reset, then, in addition to changing the layout order of cell (or alternatively), the size of cell can be reset similarly.
Additionally, in cell, display logic processor uses numerical value can change according to the size of window including temperature figure part 302.Such as, if window is at least threshold size (such as, window includes the pixel of at least number of thresholds), then logic processor uses numerical value to be displayed in the cell of temperature figure part 302 (such as, as illustrated in fig. 3).But, if window is not at least threshold size, then logic processor uses numerical value not appear in the cell of temperature figure part 302.On the contrary, different colours intensity (or other different modes for Cell display) can only be shown as a more detailed discussion of the following like that.
In one or more embodiments, the cell in temperature figure part 302 can according to logic processor indications sequential placement.Such as, in temperature figure part 302, upper left cell can correspond to logic processor 0, and in temperature figure part 302, the next cell on right side can correspond to logic processor 1, etc..In temperature figure part 302, do not show which CPU or core implement the instruction (although it can show in prompting frame as discussed above) of the logic processor corresponding with shown cell.Logic processor indications can be specified by different way, such as by the operating system (such as, the operating system 112 of Fig. 1) run on CPU.
Alternatively, temperature figure part 302 can be implemented to organize in the way of the corresponding logic processor of cell shown by temperature figure part 302 to identify which CPU or core.For example, it is possible to around the indications shown by logic processor group and the shown CPU implementing each logic processor group and/or core leaving a blank space or frame can drawn about.
In one or more embodiments, each cell is default to display logic processor and uses numerical value.The use of this logic processor is the percentage of time that this logic processor is busy and busy, regardless of whether perform code with kernel as discussed above or other (such as, user) pattern.But, user can optionally select to open " illustrating that kernel uses ", and in response to this, each cell instruction kernel in temperature figure part 302 uses, such as by making second value be in the bracket after the first numerical value for kernel use.
Fig. 5 illustrates the example temperature figure of the logic CPU division administration view according to one or more embodiments and represents 500.Divide, with reference to logic CPU as logic processor, the temperature figure that also referred to as table view or form are represented and represent that 500 discuss, but can represent at temperature figure and in 500, show that other logic CPU divides similarly.
Temperature figure represents that the 500 temperature figures being similar to Fig. 3 represent 300, but shows that kernel uses in the bracket after logic processor in temperature figure part 502 uses numerical value.In temperature figure part 502, the color coding logic-based processor of cell uses the kernel in (the first numeral) rather than bracket to use numerical value, although alternatively, and the color coding of cell can use based on kernel.The various data similar with the discussion above with respect to Fig. 3 can be shown in data division 504 and/or prompting frame.
In the discussion about Fig. 3,4 and 5, temperature figure represents that being discussed as display logic processor uses numerical value.In other embodiments, it is different from the numerical value of the logic processor use of the display each logic processor of instruction and uses different colours intensity to indicate logic processor to use, the numerical value that instruction logic processor uses can not be shown.Can only show that different color intensity (such as, as the color in cell or the background color of cell, as the frame around cell, etc.) indicates logic processor to use.
Fig. 6 illustrates the example temperature figure of the logic CPU division administration view according to one or more embodiments and represents 600.Divide, with reference to logic CPU as logic processor, the temperature figure that also referred to as table view or form are represented and represent that 600 discuss, but can represent at temperature figure and in 600, show that other logic CPU divides similarly.
Temperature figure represents that the 600 temperature figures being similar to Fig. 3 represent 300, but does not has display logic processor to use numerical value.The color coding logic-based processor of the cell of temperature figure part 602 uses, even if therefore also providing the instruction of the use of each logic processor corresponding to cell in the case of not display logic processor uses numerical value.The various data similar with the discussion above with respect to Fig. 3 can be shown in data division 604 and/or prompting frame.
About in the discussion of Fig. 3-6, the cell in temperature figure part is discussed as utilizing different colours intensity to be color coded.These different colours intensity are the varying strengths of same color.Alternatively (or in addition), cell can utilize different colours to be color coded.Such as, a kind of color is (such as, red) may be used to indicate that logic processor uses a scope of numerical value, another kind of color is (such as, blue) may be used to indicate that logic processor uses another scope of numerical value, another kind of color (such as, green) may be used to indicate that logic processor uses another scope of numerical value, etc..
It should be noted that, the cell in temperature figure part 302 can indicate how many logic processor ability to show in the way of being used to be different from use color coding.It is, for example possible to use different fonts and/or font size indicate logic processor to use, the biggest font size is used to refer to bigger logic processor compared with less font size and uses.As another example, different pattern and/or frame around cell may be used to indicate that logic processor uses.It is, for example possible to use cross-hatched pattern indicates logic processor to use a scope of numerical value, it is possible to use solid pattern indicates another scope that logic processor uses, etc..
The temperature figure of the use that logic CPU discussed herein divides represents technical support various use situation.Including in equipment that a large amount of logic CPU divides or system, user can check the most simultaneously those logics CPU divide in many.User is therefore, it is possible to identify specific one or multiple logic CPU divide whether have the highest use easily, and other the most not, and takes the desired the most suitably action of user.Additionally, graphically show that figure generally uses more device resource (such as, memorizer) than the cell of display temperature figure.Therefore, along with equipment includes that more logic CPU divides, the device resource that display temperature figure view rather than figure are used when representing and decrease display logic CPU division administration view.
Fig. 7 is to illustrate the flow chart for implementing the example process 700 that the temperature figure of the use that logic CPU divides represents according to one or more embodiments.Process 700 by performed by the equipment of the equipment 100 of such as Fig. 1, and can implement in software, firmware, hardware or a combination thereof.Process 700 be illustrated as set of actions and be not limited to the order of the shown operation for performing each action.Processing 700 is the example process that the temperature figure used for implementing logic CPU to divide represents;The other discussion represented with reference to the temperature figure of the enforcement logic CPU division use of different accompanying drawings is included in this.
Processing in 700, determining equipment whether to include less than logic CPU of number of thresholds and divide (action 702).As discussed above, these logics CPU divide can be logic processor.
If equipment includes dividing less than logic CPU of number of thresholds, then in figure represents, display identifies one or more figures (action 704) of the use that corresponding logic CPU divides.As discussed above, relevant to the division of logic CPU, CPU and/or core cpu additional information can also show.
But, if logic CPU that equipment includes at least number of thresholds divides, then display includes that each of which corresponds to the temperature figure of one or more cells that logic CPU divides and represents (action 706).As discussed above, display temperature figure represents the use and each (action 708) of showing in one or more cell in one of a number of different fashions that can include dividing based on corresponding logic CPU, and/or in each in one or more cells, display identifies the use numerical value of the use that corresponding logic CPU divides.
Fig. 8 illustrates the Example Computing Device 800 represented according to the temperature figure that can be configured to the use that enforcement logic CPU divides of one or more embodiments.Calculating equipment 800 can be such as the equipment 100 of Fig. 1.
Calculating equipment 800 includes one or more CPU802, one or more memorizer and/or one or more computer-readable medias 804 of storage assembly 806 can be included, one or more input/output (I/O) equipment 808, and allow the bus 810 that each assembly and equipment communicates with each other.Computer-readable media 804 and/or one or more I/O equipment 808 can be included as a part for calculating equipment 800, or alternatively can couple mutually.CPU 802, computer-readable media 804, one or more equipment 808 and/or bus 810 can optionally be implemented as single component or chip (such as, SOC(system on a chip)).If bus 810 represent dry type bus-structured one or more, including the memory bus or Memory Controller, external bus, Accelerated Graphics Port, processor or the local bus etc. that use various different bus framework.Bus 810 can include wired and/or wireless bus.
Memory/storage component 806 represents one or more computer storage media.Assembly 806 can include volatile media (such as random access storage device (RAM)) and/or nonvolatile memory (such as read only memory (ROM), flash memory, CD, disk etc.).Assembly 806 can include fixed medium (such as, RAM, ROM, Fixed disk etc.) and removable media (such as, flash drive, mobile hard disk, CD etc.).
Technology as described herein can realize with software, and described software has by the instruction performed by one or more CPU 802.Institute it is to be appreciated that, different instruction can be stored in the different assemblies of calculating equipment 800, in such as CPU 802, in each cache memory of CPU, in other cache memory of equipment 800 on (not shown), other computer-readable media, etc..It addition, it is to be appreciated that instruction the position of storage can be with time to time change calculating in equipment 800.
One or more input-output apparatus 808 allow user to order and information to calculating equipment 800 input, and also permission information is presented to user and/or other assembly or equipment.The example of input equipment includes keyboard, cursor control device (such as, mouse), mike, scanner etc..The example of outut device includes display device (such as, monitor or projector), speaker, printer, network interface card etc..
Various technology here can be described under the general background of software or program module.Generally, software includes performing particular task or implementing the routine of particular abstract data type, program, application, object, assembly, data structure etc..The embodiment of these modules and technology can be stored on some form of computer-readable media or transmit across it.Computer-readable media can be any usable medium that can be accessed by of calculating equipment or media.Unrestricted as example, computer-readable media can include " computer storage media " and " communication medium ".
" computer storage media " includes the volatibility that realized for any means or technology storing the such as information of computer-readable instruction, data structure, program module or other data etc and removable media non-volatile, removable and non-.Computer storage media includes RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape, disk storage or other magnetic storage apparatus, or other medium any storing desired information and can being accessed by computer can be used to, but be not limited to that this.Compared with the transmission of only signal, carrier wave or signal self, computer storage media refers to the media for information storage.Therefore, computer storage media refers to that non-signal carries media, and is not communication medium.
" communication medium " generally realizes computer-readable instruction, data structure, program module or other data, such as carrier wave or other transmission mechanism with modulated data signal.Communication medium also includes random information delivery media.Term " modulated data signal " means the signal that one or more feature is configured in the way of encoding the information in signal or changes.Unrestricted as example, communication medium includes such as cable network or the wired media of direct connection, and such as sound, RF, the infrared and wireless medium of other wireless medium.Above combination in any can also be included within the scope of computer-readable media.
Generally, any function as described herein or technology can use the combination of software, firmware, hardware (such as, fixed logic circuit), artificial treatment or these embodiments to realize." module " and " assembly " generally represents software, firmware, hardware or a combination thereof as the term is used herein.In the case of Software Implementation, module or assembly represent the program code performing appointed task when the upper execution of processor (such as, one or more CPU).This program code can be stored in one or more computer readable memory devices, and it further describes and is referred to Fig. 8 and is found.In the case of hardware embodiment, module or assembly represent functional device or other hardware performing appointed task.Such as, in hardware embodiment, module or assembly can be to apply specific integrated circuit (ASIC), field programmable gate array (FPGA), complex programmable logic equipment (CPLD) etc..The feature of the temperature figure presentation technology of logic processor as described herein is independently of platform, it means that this technology can be carried out in the various commercial have various processor.
Although being described based on theme with the language operated specific to feature and/or method, but the theme of it being understood that claims being not necessarily constrained to specific features described above or operation.On the contrary, specific features described above and operation are disclosed as the exemplary forms implementing claim.

Claims (11)

1. realize, for equipment, the method that the use temperature figure of logic CPU division represents, including:
Determine whether this equipment has multiple logics CPU divided less than logic CPU of number of thresholds and divide;
Divide if this equipment has multiple logic CPU and divide less than logic CPU of number of thresholds, then logic CPU of this equipment is divided administration view and show that (704) are that figure represents, this figure represents and includes one or more figure, and each in these one or more figures identifies the use of corresponding during multiple logic CPU divides one;
If logic CPU that this equipment has at least number of thresholds divides, then logic CPU division administration view being shown, (706) are that temperature figure represents, this temperature figure represents the multiple cells including one of each of which multiple logic CPU divisions corresponding to this equipment;And use that each in the plurality of cell divides based on corresponding logic CPU and be shown in one of a number of different fashions.
Method the most according to claim 1, each logic CPU divides and includes logic processor.
Method the most according to claim 1, includes the color intensity of the scope using numerical value divided corresponding to logic CPU each of in multitude of different ways.
Method the most according to claim 3, includes the color intensity of one or more background in multiple cells each of in multitude of different ways.
Method the most according to claim 1, farther includes for the one or more use numerical value showing the use identifying corresponding during multiple logic CPU divides one in cell in multiple cells.
Method the most according to claim 5, farther includes to identify, for one or more the display in cell in multiple cells, the kernel use numerical value that the kernel of corresponding during multiple logic CPU divides one uses.
Method the most according to claim 1, farther includes as one of multiple cells display reminding frame, and this prompting frame includes dividing relevant additional information to logic CPU corresponding to one of multiple cells.
8. calculate an equipment, including:
One or more processors (802);
One or more computer-readable medias (804) with the multiple instructions being stored thereon, when by time performed by one or more processors, this instruction makes one or more processor:
Divide if this calculating equipment has multiple logic CPU and divide less than logic CPU of number of thresholds, then logic CPU of this equipment is divided administration view and show that (704) are that figure represents, this figure represents and includes one or more figure, and each in these one or more figures identifies the use of corresponding during multiple logic CPU divides one;And
If logic CPU that this calculating equipment has at least number of thresholds divides, then logic CPU of this equipment is divided administration view and show that (706) are that temperature figure represents, this temperature figure represents the multiple cells including that each of which corresponds to one of multiple logic CPU division, use that each in the plurality of cell divides based on corresponding logic CPU and show in one of a number of different fashions.
Calculating equipment the most according to claim 8, each logic CPU divides and includes that non-uniform memory accesses (NUMA) node.
Calculating equipment the most according to claim 8, the plurality of instruction further such that one or more processor in multiple logics CPU divide corresponding one be suspended in the case of show in corresponding cell multiple logic CPU divide in this corresponding instruction being suspended.
11. 1 kinds realize, for equipment, the utensil that the use temperature figure of logic CPU division represents, including:
For determining whether this equipment has the device of the multiple logics CPU division divided less than logic CPU of number of thresholds;
If there is multiple logic CPU for this equipment to divide and divide less than logic CPU of number of thresholds, then logic CPU of this equipment is divided administration view and show that (704) are figured device, this figure represents and includes one or more figure, and each in these one or more figures identifies the use of corresponding during multiple logic CPU divides one;
If logic CPU for this equipment with at least number of thresholds divides, then logic CPU division administration view being shown, (706) are the device that temperature figure represents, this temperature figure represents the multiple cells including one of each of which multiple logic CPU divisions corresponding to this equipment;And use that each in the plurality of cell divides based on corresponding logic CPU and be shown in one of a number of different fashions.
CN201210416294.7A 2011-10-26 2012-10-26 The method and apparatus that the use temperature figure of logic CPU division represents is realized for equipment Active CN102945162B (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
US201161551886P 2011-10-26 2011-10-26
US61/551886 2011-10-26
US13/345,482 US10114679B2 (en) 2011-10-26 2012-01-06 Logical CPU division usage heat map representation
US13/345482 2012-01-06

Publications (2)

Publication Number Publication Date
CN102945162A CN102945162A (en) 2013-02-27
CN102945162B true CN102945162B (en) 2016-12-21

Family

ID=47728111

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210416294.7A Active CN102945162B (en) 2011-10-26 2012-10-26 The method and apparatus that the use temperature figure of logic CPU division represents is realized for equipment

Country Status (1)

Country Link
CN (1) CN102945162B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114185463B (en) * 2021-11-17 2023-10-13 北京字跳网络技术有限公司 Form processing method, form processing device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1541373A (en) * 2000-07-20 2004-10-27 �Ҵ���˾ Method and appts. for graphics context switching in data processing system
CN101354317A (en) * 2007-07-27 2009-01-28 通用电气公司 Abnormal polymerization method
CN101981529A (en) * 2008-03-28 2011-02-23 微软公司 Power-aware thread scheduling and dynamic use of processors

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7595804B2 (en) * 2003-11-14 2009-09-29 Unisys Corporation Systems and methods for displaying individual processor usage in a multiprocessor system
JP5428075B2 (en) * 2009-04-17 2014-02-26 株式会社日立製作所 Performance monitoring system, bottleneck determination method and management computer

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1541373A (en) * 2000-07-20 2004-10-27 �Ҵ���˾ Method and appts. for graphics context switching in data processing system
CN101354317A (en) * 2007-07-27 2009-01-28 通用电气公司 Abnormal polymerization method
CN101981529A (en) * 2008-03-28 2011-02-23 微软公司 Power-aware thread scheduling and dynamic use of processors

Also Published As

Publication number Publication date
CN102945162A (en) 2013-02-27

Similar Documents

Publication Publication Date Title
US11094031B2 (en) GPU resource usage display and dynamic GPU resource allocation in a networked virtualization system
CN105493049B (en) For the debugging based on cloud
CN104486255B (en) Service resources dispatching method and device
US10114679B2 (en) Logical CPU division usage heat map representation
Pettit et al. Software for continuous game experiments
CN103150159B (en) Identifier generation using named objects
CN112162700A (en) Storage volume creation method and device, electronic equipment and storage medium
CN109857650A (en) A kind of game performance monitor method and system
US20190266001A1 (en) Application providing apparatus, application providing method, and application providing program
CN112905424A (en) Monitoring software customization generation method, system, equipment and storage medium
CN104216781A (en) Video memory allocating method and system
CN102945162B (en) The method and apparatus that the use temperature figure of logic CPU division represents is realized for equipment
CN107544736A (en) Medical image processing method and equipment
US8818783B2 (en) Representing state transitions
CN109656575A (en) Big data platform quick deployment method, storage medium, electronic equipment and system
JP6872047B2 (en) Methods, devices, devices, and storage media that provide a visual representation of an object set.
US8887077B2 (en) Synchronized graphical and tabular performance data display
CN1103466C (en) Image processing apparatus
CN103577705B (en) A kind of system controls the data processing method and device of group
CN109698773A (en) Recognition methods, device, equipment and the medium of node network interface card belonging network
CN115501588A (en) Image rendering method and device, storage medium and electronic equipment
JP2022043018A (en) Game program, game method and server
CN115080242A (en) Method, device and medium for unified scheduling of PCI equipment resources
CN113457148A (en) Game information processing method and device, electronic equipment and storage medium
CN112685442B (en) Information comparison method, device, medium and equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: MICROSOFT TECHNOLOGY LICENSING LLC

Free format text: FORMER OWNER: MICROSOFT CORP.

Effective date: 20150702

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20150702

Address after: Washington State

Applicant after: Micro soft technique license Co., Ltd

Address before: Washington State

Applicant before: Microsoft Corp.

C14 Grant of patent or utility model
GR01 Patent grant