Remove c
article thumbnail

Windows Timer Resolution: The Great Rule Change

Randon ASCII

The behavior of the Windows scheduler changed significantly in Windows 10 2004, in a way that will break a few applications, and there appears to have been no announcement, and the documentation has not been updated. It is desirable for a program to be able to go to sleep and then wake up a little while later. Decades of madness.

article thumbnail

GotW #97 Solution: Assertions (Difficulty: 4/10)

Sutter's Mill

An assertion documents the expected state of specific program variables at the point where the assertion is written, in a testable way so that we can find program bugs — logic errors that have led to corrupted program state. Assertions are only about finding bugs, not doing program work. Bonus: [[assert: ?

C++ 80
Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

article thumbnail

bpftrace (DTrace 2.0) for Linux 2018

Brendan Gregg

C @ns: [256, 512) 10900 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ | [512, 1k) 18291 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@| [1k, 2k) 4998 |@@@@@@@@@@@@@@ | [2k, 4k) 57 | | [4k, 8k) 117 | | [8k, 16k) 48 | | [16k, 32k) 109 | | [32k, 64k) 3 | |. Syscall count by program bpftrace -e 'tracepoint:raw_syscalls:sys_enter { @[comm] = count(); }'.

C++ 105
article thumbnail

Data Mining Problems in Retail

Highly Scalable

Customer retention programs can require the identification of customers who are likely to stop the relationship with a retailer but can change their minds under the influence of incentives. This metric reveals customers with high revenue potential, hence it can be used in loyalty programs and usage expansion campaigns. Kleinberg, C.

Retail 152
article thumbnail

bpftrace (DTrace 2.0) for Linux 2018

Brendan Gregg

C @ns: [256, 512) 10900 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ | [512, 1k) 18291 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@| [1k, 2k) 4998 |@@@@@@@@@@@@@@ | [2k, 4k) 57 | | [4k, 8k) 117 | | [8k, 16k) 48 | | [16k, 32k) 109 | | [32k, 64k) 3 | |. Syscall count by program bpftrace -e 'tracepoint:raw_syscalls:sys_enter { @[comm] = count(); }'.

C++ 40
article thumbnail

What Adrian Did Next?—?Part 2?—?Sun Microsystems

Adrian Cockcroft

I was mostly coding in C, tuning FORTRAN, and when I needed to do a lot of data analysis of benchmark results used the S-PLUS statistics language, that is the predecessor to R. I was looking for a new challenge, so joined the program and ended up getting certified as a “black belt”. He had it up and running on Wednesday.

Tuning 52
article thumbnail

SQL Server I/O Basics Chapter #2

SQL Server According to Bob

Note: ​​ Pages that are nev er modified ( never​​ dirtied) remain in the clean state until they are dis c arded at which time the checksum is validated for the constant page. Then ​​ write C ​​ obtains ​​ 01 ​​ and so on.

Servers 40