virtualization

WPF VirtualizingStackPanel for increased performance

馋奶兔 提交于 2019-11-27 03:18:26
I would like a simple description of how to implement a virtualizingstackpanel for an ItemsControl that is databound to an ObservableCollection in my MVVM. I have an ItemsControl instance for each tab in a tab control, and switching tabs becomes VERY slow when the ItemsControl grows larger. What can I do to speed up the app? I opened up a WPF profiler and saw that each element (which is a custom user control) displayed in my ItemsControl of each tab had its own ContentPresenter . So I essentially had 100 content presenters all running for 100 items in my ObservableCollection in MVVM. Is this

What are the differences between virtual memory and physical memory?

99封情书 提交于 2019-11-27 02:34:53
I am often confused with the concept of virtualization in operating systems. Considering RAM as the physical memory, why do we need the virtual memory for executing a process? Where does this virtual memory stand when the process (program) from the external hard drive is brought to the main memory (physical memory) for the execution. Who takes care of the virtual memory and what is the size of the virtual memory? Suppose if the size of the RAM is 4GB (i.e. 2^32-1 address spaces) what is the size of the virtual memory? Virtual memory is, among other things, an abstraction to give the programmer

Just black screen after running Qemu

南笙酒味 提交于 2019-11-27 02:22:05
I have just installed QEMU and compiled linux kernel with ARM support but when I run below command qemu-system-arm -M versatilepb -m 128M -kernel /home/arit/QEMU/linux-3.8.4/arch/arm/boot/uImage -append "console=tty1" I could only see Black screen ,I also tried what is being suggested in below thread Qemu shows a black screen But still it didn't work. Following is the output of make command which I run to compile kernel Source make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- uImage -s Image Name: Linux-3.8.4 Created: Tue Dec 24 12:49:07 2013 Image Type: ARM Linux Kernel Image (uncompressed)

Intel's HAXM equivalent for AMD on Windows OS

本秂侑毒 提交于 2019-11-26 22:31:58
Is there any equivalent of Intel's HAXM for AMD (Windows OS) or has anybody been able to hack HAXM to make it work on AMD processors (Windows OS)? Also, would Genymotion ( http://www.genymotion.com ) be significantly faster compared to the default Google APIs ARM / x86 system images provided by Google? My exact dev machine specs: OS: Windows 7 Ultimate Processor: AMD FX 8120 8 Core 2.81 GHz Thanks in advance! Rickard From the Android docs (March 2016): Before attempting to use this type of acceleration, you should first determine if your development system’s CPU supports one of the following

WPF ListBox with a ListBox - UI Virtualization and Scrolling

你说的曾经没有我的故事 提交于 2019-11-26 21:33:20
My prototype displays "documents" that contain "pages" that are represented by thumbnail images. Each document can have any number of pages. For example, there might be 1000 documents with 5 pages each, or 5 documents with 1000 pages each, or somewhere inbetween. Documents do not contain other documents. In my xaml markup I have a ListBox , whose ItemsTemplate references an innerItemsTemplate that also has a ListBox . I want the 2 levels of selected items so that I can perform various operations on documents or pages (delete, merge, move to new location, etc). The innerItemsTemplate ListBox

DataGrid row virtualization display issue

孤人 提交于 2019-11-26 19:44:00
问题 We currently have a DataGrid that is bound to a DataTable . It also has a template column with a CheckBox in it that we add in programatically. This purpose of this column is track multiple selections in the DataGrid . A factory is used to create the CheckBox es for each row. There are quite a few records, so row virtualization is set to true so that the performance is acceptable. However, we're seeing a strange issue where if we check some CheckBox es on the first 10 rows and then scroll

why setting ScrollViewer.CanContentScroll to false disable virtualization

孤街浪徒 提交于 2019-11-26 19:00:54
As most WPF developers know, setting ScrollViewer.CanContentScroll to false will disable virtualization; but I'd like to know how it works, because I try to enable virtualization while setting ScrollViewer.CanContentScroll to false . rudigrobler "ScrollViewer currently allows two scrolling modes: smooth pixel-by-pixel scrolling (CanContentScroll = false) or discrete item-by-item scrolling (CanContentScroll = true). Currently WPF supports UI virtualization only when scrolling by item. Pixel-based scrolling is also called “physical scrolling” and item-based scrolling is also called “logical

VT Not Supported when Installing HAXM

萝らか妹 提交于 2019-11-26 17:28:26
I am trying to install fast Android emulator which uses Intel x86 emulator accelerator. I've downloaded the accelerator via SDK manager but when I tried to install it I got following error message in the beginning of the installation: I know that my CPU (i7-3520M) supports VT-X virtualization so I went to BIOS to make sure that it is enabled: As you can see, the feature is enabled in BIOS. I've found 'securable.exe' utility on the internet and when I launch it the following window is shown: Any thoughts or recommendations? I have Lenovo Z580 Laptop with Intel Core i7 and I know for sure it

Cross-browser testing: All major browsers on ONE machine

拥有回忆 提交于 2019-11-26 16:46:14
Aim of this guide: Running multiple unmodified native versions of Internet Explorer, Safari, Opera, Chrome and Firefox on a single machine, side-by-side . Covered in part 1 : Table of contents Which browsers have to be tested? How to create a Windows XP VM which boots quickly, and never expires? Where can the necessary software (VM image, browsers, ... ) be downloaded? Also covered in part 2 : Installation and configuration guide for IE, Firefox, Opera, Chrome and Safari. Developer tools and shortcuts. Time and disk space costs . Many sections are independent. Eg, instructions on running

I am getting this error “your cpu doesn't support vt-x or svm, android studio 2.1.1 in AMD 6300 processor”

时光怂恿深爱的人放手 提交于 2019-11-26 16:35:23
问题 I have enabled the virtualization in bios setup but when i try to launch the emulator i am getting the error "your cpu doesn't support vt-x or svm" I have installed Intel haxm too. 回答1: The VT-x technology as well as the HAXM are unique to Intel processors. In the case of AMD processors, AMD-V is the counterpart in the virtualization tech front. Installation of HAXM in an AMD processor will not have any impact and hence the error "your cpu doesn't support vt-x or svm". Reference link: http:/