search for: add_event

Displaying 17 results from an estimated 17 matches for "add_event".

2016 Mar 19
1
[PATCH] tests/qemu: Add program for tracing and analyzing boot times.
...e end_t; /* t + mean - 1 */ +}; + +static size_t nr_activities; +static struct activity *activities; + +static void run_test (void); +static void get_time (struct timespec *ts); +static int64_t timespec_diff (const struct timespec *x, const struct timespec *y); +static struct event *add_event (struct pass_data *, uint64_t source); +static guestfs_h *create_handle (void); +static void set_up_event_handlers (guestfs_h *g, size_t pass); +static void add_drive (guestfs_h *g); +static void check_pass_data (void); +static void dump_pass_data (void); +static void construct_timeline (void); +st...
2012 Mar 20
0
Google calendar is not working properly with gcal4ruby (0.2.6)
I''m using Rails - 2.2.2 gcal4ruby (0.2.6) I''m using google calendar to display events for users in my website. Till 18-march-2012 everything was working fine. But now whenever user add events to the calendar it show only busy in the calendar. My code is def add_event user_id = current_user.id service = GCal4Ruby::Service.new service.authenticate("username-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org", "password") calendar = GCal4Ruby::Calendar.find(service, ''Events'' , {:scope => :firs...
2006 Feb 16
1
Where to put the code? Helper or Model?
I have a class that generates an HTML calendar. It''s pretty simple, with three methods of any significance: initialize(start,end), add_event(event) and display_html Basically, the way it works is this: @events = Events.find #events in Feb 06 @cal = Calendar.new(''02/06'') @events.each {|event| cal.add_event(event)} Then in my view: <%= @cal.display_html %> Currently, I have a model called Calendar, but I'&...
2007 Feb 07
2
How to set TZID in DTSTART?
Hello all, I am currently evaluating the vpim libraries and like them very much. However there''s one thing I can''t get done: How can I set the TZID parameter for DTSTART/END dates so my encoded ICS file looks something like this: BEGIN:VEVENT ... DTSTART;TZID=Eastern Time:20071201T080000 DTEND;TZID=Eastern Time:20071207T110000 ... END:VEVENT I managed
2016 Mar 23
7
[PATCH v4 0/6] tests/qemu: Add program for tracing and analyzing boot times.
v4: - Lots more analysis of the /init script and other parts. - Display a list of the longest to shortest activities. - Rebase on top of current head. Rich.
2014 Mar 21
0
[PATCH RFC V2 4/4] tools: virtio: add a top-like utility for displaying vhost satistics
...MAT_ID = 1 << 2 +PERF_FORMAT_GROUP = 1 << 3 + +import re + +sys_tracing = '/sys/kernel/debug/tracing' + +class Group(object): + def __init__(self, cpu): + self.events = [] + self.group_leader = None + self.cpu = cpu + def add_event(self, name, event_set, tracepoint, filter = None): + self.events.append(Event(group = self, + name = name, event_set = event_set, + tracepoint = tracepoint, filter = filter)) + if len(self.events) == 1: + self....
2012 Apr 10
3
[PATCH 0/2] adding tracepoints to vhost
To help in vhost analyzing, the following series adding basic tracepoints to vhost. Operations of both virtqueues and vhost works were traced in current implementation, net code were untouched. A top-like satistics displaying script were introduced to help the troubleshooting. TODO: - net specific tracepoints? --- Jason Wang (2): vhost: basic tracepoints tools: virtio: add a
2012 Apr 10
3
[PATCH 0/2] adding tracepoints to vhost
To help in vhost analyzing, the following series adding basic tracepoints to vhost. Operations of both virtqueues and vhost works were traced in current implementation, net code were untouched. A top-like satistics displaying script were introduced to help the troubleshooting. TODO: - net specific tracepoints? --- Jason Wang (2): vhost: basic tracepoints tools: virtio: add a
2016 Mar 22
19
[PATCH v3 0/11] tests/qemu: Add program for tracing and analyzing boot times.
Lots of changes since v2, too much to remember or summarize. Please ignore patch 11/11, it's just for my testing. Rich.
2014 Mar 21
5
[PATCH RFC V2 0/4] Adding tracepoints to vhost/net
Recent debugging on vhost net zerocopy shows the need of tracepoints. So to help in vhost{net} debugging and performance analyzing, the following series adding basic tracepoints to vhost. Operations of both vhost and vhost_net were traced in current implementation. A top-like satistics displaying script were introduced to help the troubleshooting: vhost statistics vhost_virtio_update_used_idx
2014 Mar 21
5
[PATCH RFC V2 0/4] Adding tracepoints to vhost/net
Recent debugging on vhost net zerocopy shows the need of tracepoints. So to help in vhost{net} debugging and performance analyzing, the following series adding basic tracepoints to vhost. Operations of both vhost and vhost_net were traced in current implementation. A top-like satistics displaying script were introduced to help the troubleshooting: vhost statistics vhost_virtio_update_used_idx
2013 Mar 25
86
[PATCH 00/28] libxl: ocaml: improve the bindings
The following series of patches fill in most of the gaps in the OCaml bindings to libxl, to make them useful for clients such as xapi/xenopsd (from XCP). There are a number of bugfixes to the existing bindings as well. I have an experimental version of xenopsd that successfully uses the new bindings. An earlier version of the first half of the series was submitted to the last by Ian Campbell on
2016 Mar 20
14
[PATCH v2 0/7] tests/qemu: Add program for tracing and analyzing boot times.
v1 was here: https://www.redhat.com/archives/libguestfs/2016-March/thread.html#00157 Not running the 'hwclock' command reduces boot times considerably. However I'm not sure if it is safe. See the question I posted on qemu-devel: http://thread.gmane.org/gmane.comp.emulators.qemu/402194 At the moment, about 50% of the time is consumed by SeaBIOS. Of this, about ⅓rd is SGABIOS
2005 Aug 04
0
[PATCH 6/11] Xenstore watch rework
...{ + conn->waiting_for_ack = watch; + send_reply(conn,XS_WATCH_EVENT,event->data,event->len); + break; + } + } +} + +static int destroy_watch_event(void *_event) +{ + struct watch_event *event = _event; + + trace_destroy(event, "watch_event"); + return 0; +} + +static void add_event(struct watch *watch, const char *node) +{ + struct watch_event *event; + + if (watch->relative_path) { + node += strlen(watch->relative_path); + if (*node == ''/'') /* Could be "" */ node++; } - /* Create reply from path and token */ - len = strlen(node) +...
2012 Mar 16
0
Wine release 1.5.0
The Wine development release 1.5.0 is now available. What's new in this release (see below for details): - New version of the Gecko engine. - Partial support for using the Trash on Mac OS X. - Support for path gradients in GdiPlus. - Various MSXML improvements. - Fixes to 64-bit exception handling. - Various bug fixes. The source is available from the following locations:
2020 Jun 05
0
Wine release 5.10
The Wine development release 5.10 is now available. What's new in this release (see below for details): - More progress on the WineD3D Vulkan backend. - Beginnings of a separate Unix library for NTDLL. - Better support for anti-cheat kernel drivers. - More glyph substitutions in DirectWrite. - Support for DSS private keys. - ARM64 exception handling fixes. - Various bug fixes.
2002 Oct 05
6
Problems with installing
Hi! I'm having problems with installing Wine. I have downloaded Wine from CVS, and tried to install it with tools/wineinstall, but got some errors. This comes from my shell: [wayne@wayne wine]$ ./tools/wineinstall WINE Installer v0.73 I see that WINE has already been configured, so I'll skip that. We need to install wine as root user, do you want us to build wine, 'su root'