Abstract:
Es werden Technologien zum Aufruf von nativem Code unter Verwendung binärer Analyse beschrieben. Eine Rechenvorrichtung zum Aufrufen nativen Codes aus verwaltetem Code unter Verwendung binärer Analyse empfängt einen Aufruf von einem ein Verwalteter-Code-Segment ausführenden Thread zum Ausführen eines Nativer-Code-Segments. Die Rechenvorrichtung führt eine binäre Analyse des Nativer-Code-Segments durch und erzeugt aus der binären Analyse einen Komplexitätsanzeiger, der einen Komplexitätsgrad des Nativer-Code-Segments anzeigt, durch Vergleichen des Nativer-Code-Segments mit mindestens einer vordefinierten Komplexitätsregel. Zusätzlich speichert die Rechenvorrichtung einen Status des Threads auf Grundlage des Komplexitätsanzeigers und führt das Nativer-Code-Segment aus. Andere Ausführungsformen werden beschrieben und beansprucht.
Abstract:
Technologies for native code invocation using binary analysis are described. A computing device for invoking native code from managed code using binary analysis receives a call from a thread executing a managed code segment to execute a native code segment. The computing device performs a binary analysis of the native code segment and generates, from the binary analysis, a complexity indicator that indicates a level of complexity of the native code segment by comparing the native code segment to at least one predefined complexity rule. Additionally, the computing device stores a status of the thread based on the complexity indicator and executes the native code segment. Other embodiments are described and claimed.
Abstract:
Generally, this disclosure provides methods and systems for dynamic control of display brightness in different regions of the display based on window configuration and content. The method may include determining regions of interest to a user on the display; adjusting the display brightness in the regions of interest to a first level of brightness; and adjusting the display brightness in regions outside of the regions of interest to a second level of brightness, such that the second level of brightness is lower than the first level of brightness. The dynamic adjustment of display brightness in different regions of the display may reduce power consumption by the display.