积分充值
 首页
前端开发
AngularDartElectronFlutterHTML/CSSJavaScriptReactSvelteTypeScriptVue.js构建工具
后端开发
.NetC#C++C语言DenoffmpegGoIdrisJavaJuliaKotlinLeanMakefilenimNode.jsPascalPHPPythonRISC-VRubyRustSwiftUML其它语言区块链开发测试微服务敏捷开发架构设计汇编语言
数据库
Apache DorisApache HBaseCassandraClickHouseFirebirdGreenplumMongoDBMySQLPieCloudDBPostgreSQLRedisSQLSQLiteTiDBVitess数据库中间件数据库工具数据库设计
系统运维
AndroidDevOpshttpdJenkinsLinuxPrometheusTraefikZabbix存储网络与安全
云计算&大数据
Apache APISIXApache FlinkApache KarafApache KyuubiApache OzonedaprDockerHadoopHarborIstioKubernetesOpenShiftPandasrancherRocketMQServerlessService MeshVirtualBoxVMWare云原生CNCF机器学习边缘计算
综合其他
BlenderGIMPKiCadKritaWeblate产品与服务人工智能亿图数据可视化版本控制笔试面试
文库资料
前端
AngularAnt DesignBabelBootstrapChart.jsCSS3EchartsElectronHighchartsHTML/CSSHTML5JavaScriptJerryScriptJestReactSassTypeScriptVue前端工具小程序
后端
.NETApacheC/C++C#CMakeCrystalDartDenoDjangoDubboErlangFastifyFlaskGinGoGoFrameGuzzleIrisJavaJuliaLispLLVMLuaMatplotlibMicronautnimNode.jsPerlPHPPythonQtRPCRubyRustR语言ScalaShellVlangwasmYewZephirZig算法
移动端
AndroidAPP工具FlutterFramework7HarmonyHippyIoniciOSkotlinNativeObject-CPWAReactSwiftuni-appWeex
数据库
ApacheArangoDBCassandraClickHouseCouchDBCrateDBDB2DocumentDBDorisDragonflyDBEdgeDBetcdFirebirdGaussDBGraphGreenPlumHStreamDBHugeGraphimmudbIndexedDBInfluxDBIoTDBKey-ValueKitDBLevelDBM3DBMatrixOneMilvusMongoDBMySQLNavicatNebulaNewSQLNoSQLOceanBaseOpenTSDBOracleOrientDBPostgreSQLPrestoDBQuestDBRedisRocksDBSequoiaDBServerSkytableSQLSQLiteTiDBTiKVTimescaleDBYugabyteDB关系型数据库数据库数据库ORM数据库中间件数据库工具时序数据库
云计算&大数据
ActiveMQAerakiAgentAlluxioAntreaApacheApache APISIXAPISIXBFEBitBookKeeperChaosChoerodonCiliumCloudStackConsulDaprDataEaseDC/OSDockerDrillDruidElasticJobElasticSearchEnvoyErdaFlinkFluentGrafanaHadoopHarborHelmHudiInLongKafkaKnativeKongKubeCubeKubeEdgeKubeflowKubeOperatorKubernetesKubeSphereKubeVelaKumaKylinLibcloudLinkerdLonghornMeiliSearchMeshNacosNATSOKDOpenOpenEBSOpenKruiseOpenPitrixOpenSearchOpenStackOpenTracingOzonePaddlePaddlePolicyPulsarPyTorchRainbondRancherRediSearchScikit-learnServerlessShardingSphereShenYuSparkStormSupersetXuperChainZadig云原生CNCF人工智能区块链数据挖掘机器学习深度学习算法工程边缘计算
UI&美工&设计
BlenderKritaSketchUI设计
网络&系统&运维
AnsibleApacheAWKCeleryCephCI/CDCurveDevOpsGoCDHAProxyIstioJenkinsJumpServerLinuxMacNginxOpenRestyPrometheusServertraefikTrafficUnixWindowsZabbixZipkin安全防护系统内核网络运维监控
综合其它
文章资讯
 上传文档  发布文章  登录账户
IT文库
  • 综合
  • 文档
  • 文章

无数据

分类

全部后端开发(16)C++(11)Rust(4)前端开发(2)JavaScript(2)NativeScript(2)Java(1)

语言

全部中文(简体)(10)英语(8)

格式

全部PPT文档 PPT(18)
 
本次搜索耗时 0.015 秒,为您找到相关结果约 18 个.
  • 全部
  • 后端开发
  • C++
  • Rust
  • 前端开发
  • JavaScript
  • NativeScript
  • Java
  • 全部
  • 中文(简体)
  • 英语
  • 全部
  • PPT文档 PPT
  • 默认排序
  • 最新排序
  • 页数排序
  • 大小排序
  • 全部时间
  • 最近一天
  • 最近一周
  • 最近一个月
  • 最近三个月
  • 最近半年
  • 最近一年
  • ppt文档 Working with Asynchrony Generically: A Tour of C++ Executors

    WORK namespace ex = std::execution; int compute_intensive(int); int main() { unifex::static_thread_pool pool{8}; ex::scheduler auto sched = pool.get_scheduler(); ex::sender auto work = ex::when_all( ex::then(ex::schedule(sched), [] { return compute_intensive(2); }) ); auto [a, b, c] = std::this_thread::sync_wait( std::move(work) ).value(); } Launch three tasks to execute concurrently on a custom WORK namespace ex = std::execution; int compute_intensive(int); int main() { unifex::static_thread_pool pool{8}; ex::scheduler auto sched = pool.get_scheduler(); ex::sender auto work = ex::when_all(
    0 码力 | 121 页 | 7.73 MB | 5 月前
    3
  • ppt文档 C++20: An (Almost) Complete Overview

    Pointers  Is shared_ptr thread safe?  Yes: control block manipulation thread safe  guarantees object is deleted exactly once  No: accessing pointer not thread-safe, one thread could be reading pointer pointer, while another thread could be storing new pointer  Make it thread-safe?  Manually use mutex to protect access to smart pointer  Use global non-member atomic operations, e.g. std::atomic_load() 09:0037 Joining & Cancellable Threads  std::jthread  <thread>  Supports cooperative cancellation  Destructor automatically  Asks thread to cancel  Calls join()38 Joining & Cancellable Threads
    0 码力 | 85 页 | 512.18 KB | 5 月前
    3
  • ppt文档 C++高性能并行编程与优化 - 课件 - 05 C++11 开始的多线程编程

    的类型别名 这里我们创建了 double_ms 作为 duration 的别名 跨平台的 sleep : std::this_thread::sleep_for • 可以用 std::this_thread::sleep_for 替代 Unix 类操作系统专有的的 usleep 。他可 以让当前线程休眠一段时间,然后继续。 • 而且单位也可以自己指定,比如这里是 milliseconds 表示毫秒,也可以换成 microseconds 表示微秒, seconds 表示 秒, chrono 的强类型让单位选择更自由 。 睡到时间点: std::this_thread::sleep_until • 除了接受一个时间段的 sleep_for ,还有 接受一个时间点的 sleep_until ,表示让当 前线程休眠直到某个时间点。 第 1 章:线程 进程与线程 • 下载完成前,整个界面都会处于“未响应”状 态,用户想做别的事情就做不了。 现代 C++ 中的多线程: std::thread • C++11 开始,为多线程提供了语言级别的 支持。他用 std::thread 这个类来表示线 程。 • std::thread 构造函数的参数可以是任意 lambda 表达式。 • 当那个线程启动时,就会执行这个 lambda 里的内容。
    0 码力 | 79 页 | 14.11 MB | 1 年前
    3
  • ppt文档 Lock-Free Atomic Shared Pointers Without a Split Reference Count? It Can Be Done!

    danielanderson.net std::atomic Thread 1 std::shared_ptr s1 Thread 2 std::shared_ptr s2 std::shared_ptr s3 = s2; Thread 3 std::shared_ptr s4 = s3; s3 = other_thing; atomic> a Thread 1 auto s = a.load(); Thread 2 a.store(make_shared( …)); ++ -- If this happens first…23 The fundamental problem: The race to zero Thread 1 load(): Thread 2 store(shared_ptr protect(const std::atomic& src) • Atomically read the value of src with the guarantee that no other thread will delete this value until after it is released. void release() • Release the protection on the
    0 码力 | 45 页 | 5.12 MB | 5 月前
    3
  • ppt文档 Rust 异步并发框架在移动端的应用 - 陈明煜

    smol Rayon 并非异步运行时。它通过同步 多线程模型提供了并行迭代器功能, 适用于处理 CPU 密集型计算任务 rayon 现有框架无法完美适配移动端(一) Core Thread Thread Worker Worker task task Local queue Local queue Tokio 采用了如右图这种 GMP 模式: • 一核可以绑定多线程,每个线程拥有一个 Incompatibility of the third party Runtime with Mobile spawn_blocking 调度模式 spawn 调度模式 Thread Worker task Local queue Thread Thread task Global queue task New task Global queue New task take & run take & Scope  Rust 线程中的结构化并发  阻塞等待所有 Scope 内的子线程任务完成  子线程执行的闭包中可以捕获 Scope 外的变 量 AsyncScope  将 std 库中 thread scope 的思想异步化  在同步环境阻塞等待子异步任务完成,在异步 环境异步等待子异步任务完成  优先级继承:子任务默认继承父任务优先级, 也可使用 detached 模式指定其他优先级
    0 码力 | 25 页 | 1.64 MB | 1 年前
    3
  • ppt文档 Performance Lets dive into Performance issues

    into Performance issues. • Everything in JavaScript defaults to being on the same thread. Too much work on main thread • Android nested layouts • Functions and objects defined in loops • Statements like runs on the main thread. This design has both pro’s and cons • Pros: Easy access to anything dealing with GUI • Bad: Jank when doing lengthy work • Potential Solutions: Worker thread Nested Layouts } } Data Processing • Anything that does any amount of work; if possible move to your worker thread. • Gathering and saving data from/to your database is a prime example. Enabling Optimization
    0 码力 | 15 页 | 1.71 MB | 1 年前
    3
  • ppt文档 C++高性能并行编程与优化 - 课件 - 06 TBB 开启的并行编程之旅

    全局队列里去。每个线程空闲时会不断地从那个 队列里取出数据,即“认领任务”。然后执行,执行 完毕后才去认领下一个任务,从而即使每个任务 工作量不一也能自动适应。 • 这种技术又称为线程池( thread pool ),避免了 线程需要保存上下文的开销。但是需要我们管理 一个任务队列,而且要是线程安全的队列。 struct Task { int x0, y0; int nx, ny; 动态追加数据 基本没有加速,我猜想 concurrent_vector 内部可能 用了简单粗暴的互斥量,只保证了安全,并不保证高 效 加速比: 1.32 倍 并行筛选 2 先推到线程局部( thread-local )的 vector 最后一次性推入到 concurrent_vector 可以避免频繁在 concurrent_vector 上产生锁竞争 加速比: 5.55 倍 并行筛选 3 素类型,通过合并得出最终结果,也是可以的。 很直观,可惜加速效果不好。 加速比: 2.04 倍 并行筛选 9 (用于 GPU ) 线程粒度很细,核心数量很多的 GPU ,往往没办法用 concurrent_vector 和 thread-local vector 。或是你需要保证筛选前后顺序不变。这时要把筛选分为三步 : 一、算出每个元素需要往 vector 推送数据的数量(本例中只有 0 和 1 两种可 能) 二、对刚刚算出的数据进行并行扫描(
    0 码力 | 116 页 | 15.85 MB | 1 年前
    3
  • ppt文档 JVM 内存模型

    JVM 内存模型 Heap Method Area Runtime Constant Pool Thread Thread Thread PC Register JVM Stack Native Method Stack PC Register JVM Stack Native Method Stack PC Register JVM Stack Native Method
    0 码力 | 1 页 | 48.42 KB | 1 年前
    3
  • ppt文档 使用硬件加速Tokio - 戴翔

    Embark), even it has paid contributors! Tokio is good enough Tokio Tokio's APIs are memory-safe, thread-safe, and misuse-resistant. This helps prevent common bugs, such as unbounded queues, buffer overflows Test Scenario MPMC channel allows: • Adding new entries from any core or thread • Picking the next entry by any core or thread Conclusion: • DLB channel scales with core count much better than SW channels
    0 码力 | 17 页 | 1.66 MB | 1 年前
    3
  • ppt文档 NativeScript 101

    100% Day 0 API Access • Everything Runs on UI Thread* • Plugins created with native code • React Support • API Access via Native Modules • UI Thread vs JS Thread • Angular/Vue/Vanilla vs React • Progress
    0 码力 | 90 页 | 40.11 MB | 1 年前
    3
共 18 条
  • 1
  • 2
前往
页
相关搜索词
WorkingwithAsynchronyGenericallyTourofC++Executors20AnAlmostCompleteOverview高性性能高性能并行编程优化课件05LockFreeAtomicSharedPointersWithoutSplitReferenceCountItCanBeDone陈明煜2023RustChinaConfPerformancepptx06figjavamemoryarch戴翔使用硬件加速硬件加速TokioNativeScript101
IT文库
关于我们 文库协议 联系我们 意见反馈 免责声明
本站文档数据由用户上传或本站整理自互联网,不以营利为目的,供所有人免费下载和学习使用。如侵犯您的权益,请联系我们进行删除。
IT文库 ©1024 - 2025 | 站点地图
Powered By MOREDOC AI v3.3.0-beta.70
  • 关注我们的公众号【刻舟求荐】,给您不一样的精彩
    关注我们的公众号【刻舟求荐】,给您不一样的精彩